SpatialEnrichment {brainImageR} | R Documentation |
Calculates the presence of gene set within each region
SpatialEnrichment(genes, background = NULL, reps = 10, refset = c("developing", "adult"))
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 |
"Comp" object
#brainImageR:::loadworkspace() ##First load in a gene set data(vth) ##Then calculate the spatial enrichment #composite <- SpatialEnrichment(vth,20,"developing")