Description Usage Arguments Value Examples
Plot subregion expression levels for the human brainspan atlas. Provides coloring by both donor age and brain structure in a single plot.
1 2 3 4 5 6 7 8 9 | brsp_subregions_plot(
gene,
technique = "array",
cmp = heat.colors,
log_transform = FALSE,
im_height = 25,
im_width = 75,
save_pdf = TRUE
)
|
gene |
Gene in the 'brspdata' package (https://github.com/AllenInstitute/brspdata) |
technique |
Either 'rna', for RNAseq, or 'array', for exon microArray |
cmp |
R color-map function for ages; default heat.colors |
log_transform |
Boolean for plotting of linear or log2-normalized data |
im_height |
PDF image height |
im_width |
PDF image width |
save_pdf |
Save PDF or output to console |
Creates a new plot of the gene in the current working directory
1 2 | # call on a given gene
brsp_subregions_plot("SCARF1", "rna")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.