ABAEnrichment (version 1.2.2)

get_expression: Get expression data for given genes and brain structure ids

Description

Expression data obtained from the Allen Brain Atlas project [1-4].

Usage

get_expression(structure_ids, gene_ids = NA, dataset = NA, background = FALSE)

Arguments

structure_ids
vector of brain structure ids, e.g. 'Allen:10208'.
gene_ids
vector of gene identifiers, either Entrez-ID, Ensembl-ID or HGNC-symbol. If not defined, genes from previous enrichment analysis with aba_enrich are used.
dataset
'adult' for the microarray dataset of adult human brains; '5_stages' for RNA-seq expression data of the developing human brain, grouped into 5 developmental stages; 'dev_effect' for a developmental effect score. If not defined, dataset from last enrichment analysis with aba_enrich are used.
background
logical indicating whether expression from background genes should be included. Only used when gene_ids and dataset are NA and test from preceding aba_enrich call is 'hyper'.

Value

  • A matrix with expression values or developmental effect scores per brain region (rows) and gene (columns). For expression data from the developing human brain ('5_stages') it is a list with an expression matrix for each of the 5 developmental stages.

Details

Get gene expression in defined brain regions from adult or developing humans, or a developmental effect score for the developing human brain. Expression data is obtained from the Allen Brain Atlas project [1-4], averaged across donors, and for the developing human brain divided into five major age categories. The developmental effect score is based on expression data of the developing human brain. If gene_ids and dataset are not specified, the genes and dataset from the last enrichment analysis with aba_enrich are used, since it may be a common case to first run the enrichment analysis and then look at the expression data. If a requested brain region has no expression data annotated, data from sampled substructures of this region is returned. Please refer to the ABAData package vignette for details on the datasets.

References

[1] Hawrylycz, M.J. et al. (2012) An anatomically comprehensive atlas of the adult human brain transcriptome, Nature 489: 391-399. doi:10.1038/nature11405 [2] Miller, J.A. et al. (2014) Transcriptional landscape of the prenatal human brain, Nature 508: 199-206. doi:10.1038/nature13185 [3] Allen Institute for Brain Science. Allen Human Brain Atlas [Internet]. Available from: http://human.brain-map.org/ [4] Allen Institute for Brain Science. BrainSpan Atlas of the Developing Human Brain [Internet]. Available from: http://brainspan.org/

See Also

vignette("ABAEnrichment",package="ABAEnrichment") vignette("ABAData",package="ABAData") plot_expression aba_enrich get_name get_sampled_substructures

Examples

Run this code
## get expression data for six genes in the brain structure 'Allen:4010'
get_expression(structure_ids=c('Allen:4010'),gene_ids=c(324,8312,673,1029,64764,1499),
  dataset='adult')
## get expression data of six genes in two brain regions from developing human brain, 
## each of the five list elements corresponds to an age category 
get_expression(structure_ids=c('Allen:10657','Allen:10208'), gene_ids=c('ENSG00000168036', 
  'ENSG00000157764', 'ENSG00000182158', 'ENSG00000147889'),dataset='5_stages')

Run the code above in your browser using DataLab