Fixed data input bug in onc.R