Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/bg.MBCBNoBead.R
This function is used to read the files provided into a format which will be usable by the MBCB package (data.frame).
1 | mbcb.parseFile(sigFile, conFile, isRawBead = FALSE)
|
sigFile |
The file-name (character string) representing the signal file. |
conFile |
The file-name (character string) representing the control file. |
isRawBead |
A boolean value representing whether the input files are bead-level or bead-type. If the input is bead-level, set this value to True so that the raw bead-level values can be summarized to bead-type data. |
This function will return a list containing two data frames: sig and con.
Represents the signal file.
Represents the negative control data.frame.
The input files should be tab-delimited files in the following form:
signal.txt
1 2 3 4 |
neg-con.txt
1 2 3 4 |
Note that both of these examples come from a test involving four trials. Your data could use whatever number you'd like.
Yang Xie Yang.Xie@UTSouthwestern.edu, Min Chen min.chen@phd.mccombs.utexas.edu, Jeff Allen Jeffrey.Allen@UTSouthwestern.edu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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;
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.