R/annotate_gex_qc.R
annotate_pct_gene_set.Rd
Add percent of gene set defined by a regular expression pattern to colData(sce)
annotate_pct_gene_set(sce, pattern, name, alt_exp = NULL)
sce | SingleCellExperiment object |
---|---|
pattern | Regular expression for gene names to sum up expression |
name | Column name to save data in colData(sce) |
NULL#> NULL