Learn R Programming

qpcrNorm (version 1.30.0)

readQpcr: Data Input Function for a Single qPCR Experiment.

Description

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.

Usage

readQpcr(fileName, header = FALSE, qc = FALSE, quote = "\"", dec = ".", fill = TRUE, comment.char = "", ...)

Arguments

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.

Value

A qpcrBatch object.

Details

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 (without column headings), specifying the fileName should be sufficient.

See Also

readQpcrBatch, ctQc

Examples

Run this code
	## onerun.data <- readQpcr("singleQpcrRun.txt")

Run the code above in your browser using DataLab