construct: Construct a sincera object

Description Usage Arguments Value

View source: R/sincera.R

Description

Construct a sincera object from data in memory or files on disk

Usage

1
2
construct(exprmatrix = NULL, exprfile = NULL, samplevector = NULL,
  samplefile = NULL, projname = NULL)

Arguments

exprmatrix

The expression matrix; rows are genes, columns are cells

exprfile

The path to the file containing the expression matrix; either exprmatrix or exprfile must be set; if both provided, exprmatrix will be used

samplevector

A vector containing the batch information of cells

samplefile

The path to the file containing the batch information of cells; if both samplevector and samplefile are set to NULL, all cells will be assigned as "sample1"

projname

A string describing the data and analysis

Value

The created sincera object


minzheguo/SINCERA documentation built on Feb. 3, 2021, 2:31 p.m.