SubsetDataAndGroup: Subset Data and Group

Description Usage Arguments Value

View source: R/utils.R

Description

Subset Data and Group

Usage

1
SubsetDataAndGroup(data, group_by, groups = NULL, droplevels = T)

Arguments

data

expression matrix of feature by cell. Sparse matrix will be densed, so be caution of your memory.

group_by

a vector including cell annotations

groups

subset these selected groups. set NULL to use all.

droplevels

drop the unused levels in group_by

Value

a list of data and group_by (factor)


zzwch/convgene documentation built on July 11, 2021, 9:41 a.m.