Description Usage Arguments Value

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.

1 | ```
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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.