readQpcr {qpcrNorm} | R Documentation |
This function reads in data from a single qPCR experiment. The text file must have the following structure:
1st column = names denoting genes or primer pairs
2nd column = plate index of each gene or primer pair
remaining columns = (replicate) Ct values.
Note: other annotation fields may be added after the Ct value columns.
readQpcr(fileName, header = TRUE, qc = FALSE, quote = "\"", dec = ".", fill = TRUE, comment.char = "", ...)
fileName |
Character string. |
header |
Logical value, TRUE if the file contains the names of the variables as its first line. |
qc |
Logical value, TRUE if a QC filter ctQc should be applied to the data. If qc = F, the replicate Ct values will be averaged. |
quote |
Set of quoting characters. To disable quoting, set quote = "". See scan for behaviour on quotes embedded in quotes. |
dec |
Character used for decimal points. |
fill |
Logical value, TRUE if in case rows have unequal length, blank fields are implicitly added. See read.table . |
comment.char |
Character vector of length one containing a single character or an empty string. Use "" to turn off the interpretation of comments altogether. |
... |
further arguments to be passed to read.table . |
Currently fields appearing after the Ct value columns are not associated with the output of this function.
Note: the majority of arguments to readQpcr are identical to those supplied to read.table. These have been included to
give the user greater control over data input, should the data deviate from a standard tab-delimited file structure.
For a standard tab-delimited text file, specifying the fileName
should be sufficient.
A qpcrBatch
object.
Jess Mar jess@jimmy.harvard.edu
## onerun.data <- readQpcr("singleQpcrRun.txt")