
Compute a Deconvolution Dictionary From Subgroup Gene Programs
Source:R/cell_deconvolution.R
compute_deconvolution_dictionary.RdFor each subgroup, this function aggregates signature genes, ranks genes by correlation with subgroup abundance, performs GSEA, and renames subgroup labels using the top enriched pathway.
Arguments
- subgroups
Output list from
compute.deconvolution.analysis().- expr
Gene expression matrix with genes in rows and samples in columns.
- pathways
Optional named list of pathways (
pathway -> genes) used by fgsea. IfNULL, Hallmark pathways are used.- plot
Logical; if
TRUE, save GSEA summary plots inResults/.