sc_InitializingSincellObject: Function to initialize a sincell object

Description Usage Arguments Value Examples

View source: R/sincell.R

Description

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.

Usage

1

Arguments

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).

Value

a named list: list(expressionmatrix=BaseData)

Examples

1
2
3
4
5
6
7
8
## 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"]]

sincell documentation built on May 31, 2017, 11:18 a.m.

Search within the sincell package
Search all R packages, documentation and source code