calcGseaStatBatchCpp: Calculates GSEA statistic valus for all gene sets in...

Description Usage Arguments Value

View source: R/RcppExports.R

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

1
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 documentation built on Nov. 8, 2020, 5:22 p.m.