sc_InitializingSincellObject {sincell} | R Documentation

## Function to initialize a sincell object

### 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

    sc_InitializingSincellObject(BaseData)

### 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

    ## 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"]]

[Package sincell version 1.22.0 Index]