
Calculates p-values for pre-processed data
rs_calc_multi_level.RdArguments
- stats
Named numerical vector. Needs to be sorted. The gene level statistics.
- es
Numerical vector. The enrichment scores of the pathways.
- pathway_size
Integer vector. The size of each pathway, same length as
es.- sample_size
Integer. The size of the random gene sets to test against.
- seed
Integer. Random seed.
- eps
Float. Boundary for calculating the p-value.
- sign
Boolean. Used for the only positive or only negative score version.