fet_cortex_expression2D_plot: fet_cortex_expression_2D_plot

Description Usage Arguments Value Examples

View source: R/fetplot.R

Description

Plot a 2D heatmap for cortex layers and structures in each donor in the fetal human brain atlas. This function requires the fetdata package, available at (https://github.com/AllenInstitute/fetdata).

Usage

1
2
3
4
5
6
7
8
fet_cortex_expression2D_plot(
  gene,
  colbox = "red",
  log_transform = FALSE,
  im_height = 10,
  im_width = 20,
  save_pdf = TRUE
)

Arguments

gene

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

colbox

Heatmap box color; default red

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_2DPlotInNeocortex.pdf.pdf'

Examples

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

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