Subset: Utilities Subset data

SubSetR Documentation

Utilities Subset data

Description

The "Subset" function can abstract a data subset from the full dataset, this function not only collect the subset of coldata and rowdata, but also abstract raw counts/UMIs. Meanwhile, after "Subset" function, RISC object need to be normalized and scaled one more time.

Usage

SubSet(object, cells = NULL, genes = NULL)

Arguments

object

RISC object: a framework dataset.

cells

The cells are directly used for collecting a data subset.

genes

The genes are directly used for collecting a data subset.

Examples

# RISC object
obj0 = raw.mat[[5]]
obj0
cell1 = rownames(obj0@coldata)[1:15]
obj1 = SubSet(obj0, cells = cell1)
obj1

bioinfoDZ/RISC documentation built on March 30, 2024, 9:19 p.m.