testEnrich {brainImageR} | R Documentation |
testEnrich
test the enrichment of the observed enrichment
testEnrich(composite, method = c("fisher", "bootstrap"))
composite |
Comp object returned from SpatialEnrichment. |
method |
character either "bootstrap" or "fisher" |
spatiotemporal prediction
#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)