R/get_cell_features.R
get_cell_features.Rd
Get feature from assay data, colData, or reducedDims at once from main experiment or alternate experiments
get_cell_features(sce, features, assay, alt_exp = NULL)
sce | SingleCellExperiment object |
---|---|
features | names of features desired. It will first check row names of the assay data, then column names of the colData, then column names of each of the reducedDims slots. Only those found will be returned |
assay | assay to use (counts, logcounts, etc.) |
alt_exp | name of the altExp to use (if any) |
data.frame with rows as cells and columns as features
NULL#> NULL