data(MBCBExpressionData)
# Create files from the data provided in this package in the current
# directory
# Obviously, this is the opposite of what the function does, but we need to
# write sample files for the sake of the demonstration
# The signal and negative control files can be used by calling the above
# command without the writing and reading of the data.
write.table(expressionSignal, 'signal.txt', sep="\t");
write.table(negativeControl, 'negative.control.txt', sep="\t");
#read in those files just created.
data <- mbcb.parseFile('signal.txt', 'negative.control.txt');
signal <- data$sig;
negCon <- data$con;
Run the code above in your browser using DataLab