Description Usage Arguments Details Value Examples
PlotBrain
Plots CreateBrain. The gene set enrichment observe
within the microdissected tissues (results of testEnrich) are
combined here to show gene set enrichment across broad brain regions.
Enriched regions are colored in red, and regions depleted for the query
gene list are colored in blue.
1 |
composite |
Comp object returned from CreateBrain. |
legend |
Boolean whether the legend should be included. Default = TRUE |
PlotBrain plots your spatial gene set enrichment image.
plots the SGSE brain image
1 2 3 4 5 6 7 8 9 10 11 | ##First put together a gene list, or load in the default vth dataset
#brainImageR:::loadworkspace()
data(vth)
##Calculate the spatial enrichment.
#composite <- SpatialEnrichment(vth, reps = 20, refset = "developing")
##Calculate the significance of the gene set enrichment
#boot <- testEnrich(composite)
##Color the brain section of interest
#composite <- CreateBrain(composite, boot, slice = 5, pcut = 0.05)
##Plot the brain
#PlotBrain(composite)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.