Learn R Programming

PRIST (version 0.925)

SCASet: Constructs a SCASet

Description

An SCASet is a list of SingleCellAssays or objects inheriting from SingleCellAssay. The type of constructor called is determined by the value of contentClass, which should be the class of the SCA inheriting object contained in this SCASet. Both the class and the constructor should exist and have the same name. The code dynamically looks to see if the a function with the same name exists, and ASSUMES it is the constructor for the class.

Usage

SCASet(dataframe, splitby, idvars = NULL, primerid = NULL,
  measurement = NULL, contentClass = "SingleCellAssay", ...)

Arguments

dataframe

flat data.frame ala SingleCellAssay

splitby

either a character vector naming columns or a factor or a list of factors used to split dataframe into SingleCellAssays

idvars

character vector naming columns that uniquely identify a cell

primerid

character vector of length 1 that names the column that containing what feature was measured

measurement

character vector of length 1 that names the column containing the measurement

contentClass

a character, the name of the class being constructed within this SCASet. Defaults to SingleCellAssay. Other methods may pass in other classes, i.e. FluidigmAssay.

...

passed up to SingleCellAssay or other dynamically called constructor.

Value

SCASet