create_sce_rnaseq: Create a single-cell mRNA-seq experiment

Description Usage Arguments Value Examples

View source: R/expt.R

Description

Create a single-cell mRNA-seq experiment

Usage

1
create_sce_rnaseq(path, norm_method = "log_normalize")

Arguments

path

path to output matrices or R matrix object.

norm_method

Normalization method for counts. Normalized data is stored in logcounts. Set to NULL to skip normalization.

Value

SingleCellExperiment containing a sparseMatrix of counts

Examples

1
2
3
4
5
create_sce_rnaseq(scrunchy_data("mrna/"))

# using pre-loaded matrix
mat <- SingleCellExperiment::counts(fsce_small[["rnaseq"]])
create_sce_rnaseq(mat)

hesselberthlab/scrunchy documentation built on Nov. 11, 2019, 2:29 p.m.