getData: Retrieve Bgee RNA-seq or Affymetrix data.

Description Usage Arguments Value Author(s) Examples

View source: R/getData.R

Description

This function loads the quantitative expression data and presence calls for samples available from Bgee (rna_seq, affymetrix).

Usage

1
2
3
4
5
6
7
getData(
  myBgeeObject,
  experimentId = NULL,
  sampleId = NULL,
  anatEntityId = NULL,
  stageId = NULL
)

Arguments

myBgeeObject

A Reference Class Bgee object, notably specifying the targeted species and data type.

experimentId

Filter allowing to specify one or more ArrayExpress or GEO accession, e.g., GSE43721. Default is NULL: takes all available experiments for targeted species and data type.

sampleId

Filter allowing to specify one or more sample ID. Depending on the selected datatype this sample IDs can correspond to Chip IDs (affymetrix) or RNA-Seq library IDs (rna_seq). Default is NULL: takes all available samples for targeted species and data type.

anatEntityId

Filter allowing to specify one or more anatomical entity IDs from the UBERON ontology (http://uberon.github.io/). Default is NULL: takes all available anatomical entities for targeted species and data type.

stageId

Filter allowing to specify one or more developmental stage IDs from Developmental Stage Ontology (https://github.com/obophenotype/developmental-stage-ontologies). Default is NULL: takes all available developmental stages for targeted species and data type.

Value

Return a dataframe containing all Bgee processed expression data from the selected species and datatype using specified filters with operator AND.

Author(s)

Julien Wollbrett, Andrea Komljenovic and Julien Roux.

Examples

1
2
3
4
5
6
7
{
  bgee <- Bgee$new(species = "Mus_musculus", dataType = "rna_seq")
  dataMouse <- getData(bgee)
  dataMouseGSE43721 <- getData(bgee, experimentId = "GSE43721")
  dataMouseVariousFilters <- getData(bgee, experimentId = c("GSE43721", "GSE36026"), 
                             anatEntityId = c("UBERON:0002107", "UBERON:0000956", "UBERON:0002048"))
}

BgeeDB documentation built on Nov. 8, 2020, 8:21 p.m.