nhp_cortex_series_plot: nhp_cortex_series_plot

Description Usage Arguments Value Examples

View source: R/nhpplot.R

Description

Plot times series for a single gene in the non-human primate brain atlas from the Allen institute. This function relies on the nhpdata package, located at https://github.com/AllenInstitute/nhpdata.

Usage

1
2
3
4
5
6
7
nhp_cortex_series_plot(
  gene,
  log_transform = FALSE,
  im_height = 12,
  im_width = 4,
  save_pdf = TRUE
)

Arguments

gene

Gene in the 'nhpdata::exprl2' data set; character string

im_height

PDF image height

im_width

PDF image width

save_pdf

Save to disk or return to console

Value

Creates a new plot of the gene in the current working directory

Examples

1
2
# call on a given gene
nhp_cortex_series_plot("MKI67")

AllenInstitute/atlasplot documentation built on Aug. 11, 2021, 1:52 a.m.