fet_subregions_plot: fet_subregions_plot

Description Usage Arguments Value Examples

View source: R/fetplot.R

Description

Plot gene expression values for each structure in each donor for the fetal human brain atlas. This function requires the fetdata package (https://github.com/AllenInstitute/fetdata), and is a thin wrapper around a modified version of WGCNA's verboseBarplot.

Usage

1
2
3
4
5
6
7
fet_subregions_plot(
  gene,
  log_transform = FALSE,
  im_height = 10,
  im_width = 50,
  save_pdf = TRUE
)

Arguments

gene

Gene in the 'fetdata::datFET' data set; character string

log_transform

Boolean for plotting of linear or log data

im_height

PDF image height

im_width

PDF image width

save_pdf

Save to disk or output to console

Value

Creates a new plot of the gene in the current working directory; label as 'GENE_fetalHuman_structureBarPlotAll.pdf'

Examples

1
2
# call on a given gene
fet_subregions_plot("SHH")

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