testEnrich {brainImageR} | R Documentation

## Calculate significance of gene set enrichment

### Description

`testEnrich` test the enrichment of the observed enrichment

### Usage

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

### Arguments

`composite` | Comp object returned from SpatialEnrichment.
`method` | character either "bootstrap" or "fisher"

### Value

spatiotemporal prediction

### Examples

    #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)

[Package brainImageR version 1.1.0 Index]