subset_sce_metadata: Subset the sce object based on a column of the metadata table

Description Usage Arguments Value Examples

View source: R/subset_sce_metadata.R

Description

Subset the sce object based on a column of the metadata table

Usage

1

Arguments

sce

a SingleCellExperiment.

...

a conditional statement to subset the SCE by metadata slot.

Value

a subsetted sce SingleCellExperiment.

Examples

1
2
 # Subset the sce_gvhd object based on the 'cell_annotation' label in the metadata table
 sce_cd4 = subset_sce_metadata(sce_gvhd, cell_annotation %in% c("CD4+ T Cells", "Basophils"))

kordastilab/ImmunoCluster documentation built on May 10, 2021, 7:41 a.m.