Learn R Programming

qpcrNorm (version 1.30.0)

matrixByPlate: Internal function to reorganize qPCR data into a rectangular structure.

Description

This function takes a vector of Ct values from a single qPCR experiment and reorganizes it into a matrix structure. Each column in the matrix represents a different plate that was used in the experiment.

Usage

matrixByPlate(xvec, plateIndex)

Arguments

xvec
Numeric vector of Ct values.
plateIndex
Character vector, denoting plate index of each gene or primer pair.

Value

A matrix object.

Details

On the resulting matrix structure: The number of rows equals the maximum number of genes or primer pairs that were used on a plate in the experiment. For plates with less genes, NA values are padded at the end of the column vector to complete the rectangular structure. Note: these NA values do not affect downstream calculations.

See Also

normQpcrQuantile

Examples

Run this code
	data(qpcrBatch.object)
	mynormQuant.data <- normQpcrQuantile(qpcrBatch.object) 

Run the code above in your browser using DataLab