Learn R Programming

CausalR (version 1.4.3)

CalculateEnrichmentPValue: 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

Run this code
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)

Run the code above in your browser using DataLab