loadTopAnatData: Retrieve data from Bgee to perform GO-like enrichment of...

View source: R/loadTopAnatData.R

loadTopAnatDataR Documentation

Retrieve data from Bgee to perform GO-like enrichment of anatomical terms, mapped to genes by expression patterns.

Description

This function loads a mapping from genes to anatomical structures based on calls of expression in anatomical structures. It also loads the structure of the anatomical ontology.

Usage

loadTopAnatData(myBgeeObject, callType = "presence", confidence = "all",
  stage = NULL)

Arguments

myBgeeObject

An output object from Bgee$new().

callType

A character of indicating the type of expression calls to be used for enrichment. Only calls for significant detection of expression are implemented so far ("presence"). Differential expression calls, based on differential expression analysis, might be implemented in the future.

confidence

A character indicating if only high quality present calls should be retrieved. Options are "all" or "high_quality". Default is "all".

stage

A character indicating the targeted developmental stages for the analysis. Developmental stages can be chosen from the developmental stage ontology used in Bgee (available at https://github.com/obophenotype/developmental-stage-ontologies). If a stage is specified, the expression pattern mapped to this stage and all children developmental stages (substages) will be retrieved. Default is NULL, meaning that expression patterns of genes are retrieved regardless of the developmental stage displaying expression; this is equivalent to specifying stage="UBERON:0000104" (life cycle, the root of the stage ontology). For information, the most useful stages (going no deeper than level 3 of the ontology) include:

  • UBERON:0000068 (embryo stage)

    • UBERON:0000106 (zygote stage)

    • UBERON:0000107 (cleavage stage)

    • UBERON:0000108 (blastula stage)

    • UBERON:0000109 (gastrula stage)

    • UBERON:0000110 (neurula stage)

    • UBERON:0000111 (organogenesis stage)

    • UBERON:0007220 (late embryonic stage)

    • UBERON:0004707 (pharyngula stage)

  • UBERON:0000092 (post-embryonic stage)

    • UBERON:0000069 (larval stage)

    • UBERON:0000070 (pupal stage)

    • UBERON:0000066 (fully formed stage)

Details

The expression calls come from Bgee (http://bgee.org), that integrates different expression data types (RNA-seq, Affymetrix microarray, ESTs, or in-situ hybridizations) from multiple animal species. Expression patterns are based exclusively on curated "normal", healthy, expression data (e.g., no gene knock-out, no treatment, no disease), to provide a reference atlas of normal gene expression. Anatomical structures are identified using IDs from the Uberon ontology (browsable at http://www.ontobee.org/ontology/UBERON). The mapping from genes to anatomical structures includes only the evidence of expression in these specific structures, and not the expression in their substructures (i.e., expression data are not propagated). The retrieval of propagated expression data might be implemented in the future, but meanwhile, it can be obtained using specialized packages such as topGO, see the topAnat.R function.

Value

A list of 4 elements:

  • A gene2anatomy list, mapping genes to anatomical structures based on expression calls.

  • A organ.names data frame, with the name corresponding to UBERON IDs.

  • A organ.relationships list, giving the relationships between anatomical structures in the UBERON ontology (based on parent-child "is_a" and "part_of" relationships).

  • The Bgee class object thta was used to retrieve the data.

Author(s)

Julien Roux

Examples

{
  bgee <- Bgee$new(species = "Mus_musculus", dataType = "rna_seq")
  myTopAnatData <- loadTopAnatData(bgee)
}


wirawara/BgeeDB documentation built on Feb. 10, 2023, 4:15 a.m.