Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

calcGseaStatBatchCpp

Calculates GSEA statistic valus for all gene sets in 'selectedStats' list.


Description

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.

Usage

calcGseaStatBatchCpp(stats, selectedGenes, geneRanks)

Arguments

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

Value

Numeric vector of GSEA statistics of the same length as 'selectedGenes' list


fgsea

Fast Gene Set Enrichment Analysis

v1.16.0
MIT + file LICENCE
Authors
Gennady Korotkevich [aut], Vladimir Sukhov [aut], Nikolay Budin [ctb], Alexey Sergushichev [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.