sc_InitializingSincellObject {sincell} | R Documentation |
Function initializes a named list with a unique member so-called "expressionmatrix" containing the input gene expression matrix. Genes with a variance equal to zero are filtered out from the gene expression matrix at this step.
sc_InitializingSincellObject(BaseData)
BaseData |
A numeric matrix representing a gene expression matrix gathering the normalized expression levels of each single-cell in the experiment (displayed by columns) for each detected gene (displayed by rows). |
a named list: list(expressionmatrix=BaseData)
## Generate some random data Data <- matrix(abs(rnorm(3000, sd=2)),ncol=10,nrow=300) ## Initializing SincellObject named list mySincellObject <- sc_InitializingSincellObject(Data) ## To access the gene expression matrix expressionmatrix<-mySincellObject[["expressionmatrix"]]