newSparseDataSet: Create a new SparseDataSet

Description Usage Arguments Value Author(s) Examples

Description

Generate a new SparseDataSet from annotation data and a sparse matrix. For more details on the class see SparseDataSet-class.

For construction of phenoData and featureData objects see the introductory vignette or the ExpressionSet introdcutory vignette of the Biobase package.

The sparse data can be constructed using the Matrix function of the Matrix package, see the introductory vignette or check the man files from the Matrix package for more information on this class.

For calculation of statistics see calculateMeans and calculateTStats.

Usage

1
newSparseDataSet(sparseData, conditions, phenoData = NULL, featureData = NULL)

Arguments

sparseData

an object of class dgCMatrix

conditions

a factor of the conditions across which statistics will be calculated

phenoData

the phenotypic data

featureData

the feature data

Value

a SparseDataSet object

Author(s)

Michael Love

Examples

1
2
sds <- simulateSparseDataSet(5, c(5,5))
sds2 <- newSparseDataSet(sparseData(sds), conditions(sds), phenoData(sds), featureData(sds))

mikelove/SparseData documentation built on May 22, 2019, 10:52 p.m.