Calculates GSEA statistic valus for all gene sets in 'selectedStats' list.
Takes O(n + mKlogK) time, where n is the number of genes, m is the number of gene sets, and k is the mean gene set size.
calcGseaStatBatchCpp(stats, selectedGenes, geneRanks)
stats |
Numeric vector of gene-level statistics sorted in decreasing order |
selectedGenes |
List of integer vector with integer gene IDs (from 1 to n) |
geneRanks |
Integer vector of gene ranks |
Numeric vector of GSEA statistics of the same length as 'selectedGenes' list
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.