Rust implementation of the fgsea::calcGseaStat() function
rs_calc_gsea_stats.RdRust implementation of the fgsea::calcGseaStat() function
Arguments
- stats
Numeric vector. The gene level statistic. Needs to sorted in descending nature.
- gs_idx
Integer vector. The indices of the gene set genes.
- gsea_param
Float. The GSEA parameter. Usually defaults to 1.0.
- return_leading_edge
Boolean. Return the leading edge indices.
- return_all_extremes
Boolean. Shall the extreme values be returned for plotting.