CalculateEnrichmentPValue {CausalR} | R Documentation |
Calculate a enrichment p-value for a given hypothesis by comparing the corresponding predicted and observed gene changes
CalculateEnrichmentPValue(predictions, results)
predictions |
predictions of changes from the CCG for a particular hypothesis |
results |
gene changes observed in the experimental data |
an enrichment p-value
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)