1 CoSIAdata Introduction

VST Stabilized RNA-Seq Expression Data from Bgee across six species and more than 132 tissues are made available through the CoSIAdata package. The six species available through the package are Homo sapiens, Mus musculus, Rattus norvegicus, Danio rerio, Drosophila melanogaster, and Caenorhabditis elegans. Each species is found in an individualized Rdata file from ExperimentHub and can be used in conjunction with CoSIA, a visualization tool for comparing across species using gene expression metrics. CoSIAdata’s individualized datasets provide the Anatomical Entity Name, Anatomical Entity Id, Ensembl Id, and Experimental Id to accompany the VST Stabilized RNA-Seq Expression Data allowing for species, tissue, and gene-specific analysis to be conducted.

The example below demonstrates the process of downloading these datasets from Experimental Hub.

##Installation of CoSIAdata In R:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("CoSIAdata")
library(CoSIAdata)

1.1 Using CoSIAdata

CoSIAdata has species-specific helper functions for accessing expression data

c_elegans_vst_counts <- CoSIAdata::Caenorhabditis_elegans()

1.2 Behind the Scenes of CoSIAdata

CoSIAdata retrieves from ExperimentHub using the query functions

eh <- ExperimentHub()
query(eh, "CoSIAdata")
head(eh[["EH7863"]])

1.3 Accessing CoSIAdata Metadata

To get a list of species in CoSIAdata and other information about the datasets, query ExperimentHub as below

eh <- ExperimentHub::ExperimentHub()
AnnotationHub::query(eh, "CoSIAdata")
#> ExperimentHub with 6 records
#> # snapshotDate(): 2024-04-29
#> # $dataprovider: Bgee
#> # $species: Rattus norvegicus, Mus musculus, Homo sapiens, Drosophila melano...
#> # $rdataclass: data.frame
#> # additional mcols(): taxonomyid, genome, description,
#> #   coordinate_1_based, maintainer, rdatadateadded, preparerclass, tags,
#> #   rdatapath, sourceurl, sourcetype 
#> # retrieve records with, e.g., 'object[["EH7858"]]' 
#> 
#>            title                                                              
#>   EH7858 | VST normalized RNA-Sequencing data with annotations for 362,533,...
#>   EH7859 | VST normalized RNA-Sequencing data with annotations for 31,405,6...
#>   EH7860 | VST normalized RNA-Sequencing data with annotations for 3,814,42...
#>   EH7861 | VST normalized RNA-Sequencing data with annotations for 5,235,72...
#>   EH7862 | VST normalized RNA-Sequencing data with annotations for 4,576,39...
#>   EH7863 | VST normalized RNA-Sequencing data with annotations for 1,923,06...

Session Info

sessionInfo()
#> R version 4.4.1 (2024-06-14)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 22.04.5 LTS
#> 
#> Matrix products: default
#> BLAS:   /home/biocbuild/bbs-3.19-bioc/R/lib/libRblas.so 
#> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#>  [3] LC_TIME=en_GB              LC_COLLATE=C              
#>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
#>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
#> 
#> time zone: America/New_York
#> tzcode source: system (glibc)
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] BiocStyle_2.32.1
#> 
#> loaded via a namespace (and not attached):
#>  [1] rappdirs_0.3.3          sass_0.4.9              utf8_1.2.4             
#>  [4] generics_0.1.3          BiocVersion_3.19.1      RSQLite_2.3.7          
#>  [7] digest_0.6.37           magrittr_2.0.3          evaluate_1.0.0         
#> [10] bookdown_0.40           fastmap_1.2.0           blob_1.2.4             
#> [13] AnnotationHub_3.12.0    jsonlite_1.8.9          AnnotationDbi_1.66.0   
#> [16] GenomeInfoDb_1.40.1     DBI_1.2.3               BiocManager_1.30.25    
#> [19] httr_1.4.7              purrr_1.0.2             fansi_1.0.6            
#> [22] UCSC.utils_1.0.0        Biostrings_2.72.1       jquerylib_0.1.4        
#> [25] cli_3.6.3               crayon_1.5.3            rlang_1.1.4            
#> [28] XVector_0.44.0          dbplyr_2.5.0            Biobase_2.64.0         
#> [31] bit64_4.5.2             withr_3.0.1             cachem_1.1.0           
#> [34] yaml_2.3.10             tools_4.4.1             memoise_2.0.1          
#> [37] dplyr_1.1.4             GenomeInfoDbData_1.2.12 filelock_1.0.3         
#> [40] ExperimentHub_2.12.0    BiocGenerics_0.50.0     curl_5.2.3             
#> [43] mime_0.12               png_0.1-8               vctrs_0.6.5            
#> [46] R6_2.5.1                stats4_4.4.1            BiocFileCache_2.12.0   
#> [49] lifecycle_1.0.4         zlibbioc_1.50.0         KEGGREST_1.44.1        
#> [52] S4Vectors_0.42.1        IRanges_2.38.1          bit_4.5.0              
#> [55] pkgconfig_2.0.3         pillar_1.9.0            bslib_0.8.0            
#> [58] glue_1.7.0              xfun_0.47               tibble_3.2.1           
#> [61] tidyselect_1.2.1        knitr_1.48              htmltools_0.5.8.1      
#> [64] rmarkdown_2.28          compiler_4.4.1