getData {BgeeDB} | R Documentation |
This function loads the quantitative expression data and presence calls for samples available from Bgee (rna_seq, affymetrix, sc_full_length).
getData( myBgeeObject, experimentId = NULL, sampleId = NULL, anatEntityId = NULL, stageId = NULL, cellTypeId = NULL, sex = NULL, strain = NULL )
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. |
cellTypeId |
Filter specific to single cell datatype (sc_full_length) allowing to specify one or more cell type IDs from the UBERON ontology (http://uberon.github.io/). Default is NULL: takes all available cell types for targeted species and data type. Available for Bgee 15.0 and after |
sex |
Filter allowing to specify one or more sexes. Default is NULL: takes all available sexes for targeted species and data type. Available for Bgee 15.0 and after |
strain |
Filter allowing to specify one or more strains. Default is NULL: takes all available strains for targeted species and data type. Available for Bgee 15.0 and after |
Return a dataframe containing all Bgee processed expression data from the selected species and datatype using specified filters with operator AND.
Julien Wollbrett, Andrea Komljenovic and Julien Roux.
{ bgee <- Bgee$new(species = "Mus_musculus", dataType = "rna_seq") dataMouseGSE43721 <- getData(bgee, experimentId = "GSE43721") dataMouseVariousFilters <- getData(bgee, experimentId = c("GSE43721", "GSE36026"), anatEntityId = c("UBERON:0002107", "UBERON:0000956", "UBERON:0002048")) }