create_SCE: Create an SCE object from a sparse matrix

View source: R/objects.R

create_SCER Documentation

Create an SCE object from a sparse matrix

Description

Create an SCE object from a sparse matrix

Usage

create_SCE(x, name = "SCE")

Arguments

x

A sparse matrix consisting of raw expression counts from a single-cell RNA experiment, with genes in the rows and droplets in the columns.

name

An optional character name for the SCE object.

Value

SCE object

Examples

counts <- matrix(sample(c(0,1,2), 1000, replace=TRUE),  nrow=10, ncol=100)
mb_sce <- create_SCE(x=counts, name="Mouse Brain")

marcalva/diem documentation built on Jan. 1, 2023, 2:33 a.m.