SpatialEnrichment {brainImageR} | R Documentation

## Calculate the presence of your gene set within each brain region

### Description

Calculates the presence of gene set within each region

### Usage

    SpatialEnrichment(genes, background = NULL, reps = 10,
        refset = c("developing", "adult"))

### Arguments

`genes` | query gene set
`background` | background gene list, default = NULL (uses all ABA genes)
`reps` | replicates for bootstrap, default = 10
`refset` | reference brain map. developing (default) or adult

### Value

"Comp" object

### Examples

    #brainImageR:::loadworkspace()
    ##First load in a gene set
    data(vth)
    ##Then calculate the spatial enrichment
    #composite <- SpatialEnrichment(vth,20,"developing")

[Package brainImageR version 1.1.0 Index]