Build the chip and position indices

Share:

Description

If a vector of sample names of the form "6793856729_R03C02" is given, the function builds a data frame containing chip and position indices for the samples. If no samples names are provided by the user but explicit postion and chip vectors are provided, the data frame is built with these explicit indices.

Usage

1
getDesignInfo(sampleNames = NULL, chipVector = NULL, positionVector = NULL)

Arguments

sampleNames

Names of the samples of the form "6793856729_R03C02" (Chip ID, Row, Column)

chipVector

Numeric vector of chip indices (one chip contains 12 samples)

positionVector

Numeric vector of on-chip position indices (between 1 and 12)

Value

A data.frame containing a column named chipInfo containing the chip indices, a column named positionInfo containing the position indices, and a column sampleNames if sample names were provided.

Author(s)

Jean-Philippe Fortin <jfortin@jhsph.edu>

Examples

1
2
data(sampleNames)
getDesignInfo(sampleNames)