Usage
gene_set_score(spe, genes = NULL, assay = "cpm", name = "geneSet")
Arguments
- spe
SpatialExperiment object
- genes
vectors of genes to calculate gene set score
- assay
name of the assay to use, default is "cpm"
- name
name of the result column
Value
updated SpatialExperiment object including the gene set score