Skip to contents

This function computes the enrichment of selected nodes in a ranked list, using Wilcoxon, Kolmogorov-Smirnov, and Fisher exact tests.

Usage

alpacaTestNodeRank(node.ordered, true.pos)

Arguments

node.ordered

An ordered list of nodes (high-scoring to low-scoring).

true.pos

The selected set of nodes being tested for enrichment among the ranked list.

Value

A vector of 4 values. 1) Wilcoxon p-value, 2) KS p-value, 3) Fisher p-value, 4) Fisher odds ratio.

Examples

a <- 1 # example place holder