testEnrich: Calculate significance of gene set enrichment

Description Usage Arguments Value Examples

View source: R/testEnrich.R

Description

testEnrich test the enrichment of the observed enrichment

Usage

1
testEnrich(composite, method = c("fisher", "bootstrap"))

Arguments

composite

Comp object returned from SpatialEnrichment.

method

character either "bootstrap" or "fisher"

Value

spatiotemporal prediction

Examples

1
2
3
4
5
6
7
8
9
#brainImageR:::loadworkspace()
##First put together a gene list, or load in the default vth dataset
data(vth)
##Calculate the spatial enrichment.
#composite <- SpatialEnrichment(vth, reps = 20, refset = "developing")
##Calculate the significance estimates
#boot <- testEnrich(composite)
#boot <- boot[order(boot$FC, decreasing=TRUE),]
#head(boot)

saralinker/brainImageR documentation built on May 29, 2019, 1:51 p.m.