FgseaList - wrapper around fast gene set enrichment analysis with the fgsea R package https://bioconductor.org/packages/release/bioc/html/fgsea.html to implement on a list of ranks indexec by cell type.
Source:R/enrichment_analysis.r
FgseaList.Rd
FgseaList - wrapper around fast gene set enrichment analysis with the fgsea R package https://bioconductor.org/packages/release/bioc/html/fgsea.html to implement on a list of ranks indexec by cell type.
Arguments
- rank.list.celltype
results returned by GetRankResultsRaw or GetRankResults
- pathways
modules / gene sets as a named list each a single vector of unique gene IDS
- maxSize
see fgsea package
- minSize
see fgsea package
Examples
if (FALSE) {
t1hvl_rank = GetRankResultsRaw(limma.fit.object.list = dreamfit,
coefficient.number = 1,
contrast.name = "contrastName")
register(SnowParam(4))
pparam = SnowParam(workers = 4, type = "SOCK", progressbar = TRUE)
gsealist = FgseaList(rank.list.celltype = t1hvl_rank, pathways = btm, BPPARAM = pparam)
}
# usage: