Description Usage Arguments Value Examples
Creates a boxed heatmap of the expression values for a single gene in the non-human primate atlas (requires https://github.com/AllenInstitute/nhpdata). This provides a useful view of gene expression by layer and developmental stage, and is limited to data from primary visual cortex (V1).
1 2 3 4 5 6 7 8 | nhp_cortex_expression2D_small_plot(
gene,
col_vec = c("white", "red"),
log_transform = FALSE,
im_height = 7,
im_width = 7,
save_pdf = TRUE
)
|
gene |
Gene in the 'nhpdata::datNHP' data set; character string |
col_vec |
List of colors to create linear color map; c("white", "red") default |
log_transform |
Boolean to plot data log vs linear |
im_height |
PDF image height |
im_width |
PDF image width |
save_pdf |
Save to disk or return to console |
Creates a new plot of the gene in the current working directory
1 2 | # call on a given gene
nhp_cortex_expression2D_plot("PAX6", c("green", "skyblue"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.