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

1
matrixByPlate(xvec, plateIndex)

Arguments

xvec

Numeric vector of Ct values.

plateIndex

Character vector, denoting plate index of each gene or primer pair.

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.

Value

A matrix object.

Author(s)

Jess Mar jess@jimmy.harvard.edu

See Also

normQpcrQuantile

Examples

1
2