CalculateEnrichmentPValue {CausalR}R Documentation

calculates an enrichment p-value

Description

Calculate a enrichment p-value for a given hypothesis by comparing the corresponding predicted and observed gene changes

Usage

CalculateEnrichmentPValue(predictions, results)

Arguments

predictions

predictions of changes from the CCG for a particular hypothesis

results

gene changes observed in the experimental data

Value

an enrichment p-value

Examples

predictions <- matrix(c(1,2,3,1,1,-1), ncol = 2)
results<- matrix(c(1,2,3,4,1,1,-1,1), ncol = 2)
CalculateEnrichmentPValue(predictions, results)

[Package CausalR version 1.24.0 Index]