alpacaTestNodeRank: Enrichment in ranked list

View source: R/ALPACA.R

alpacaTestNodeRankR Documentation

Enrichment in ranked list

Description

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

netZoo/netZooR documentation built on Oct. 16, 2024, 10:23 p.m.