Skip to contents

Datasets are hosted on Zenodo and downloaded individually on first use, then cached locally with BiocFileCache; later calls load from the cache without network access. Loading datasets with data() still works but is deprecated in favor of this function.

Usage

curatedOvarianData(datasets, test = FALSE)

Arguments

datasets

Character vector of dataset names (e.g. "TCGA_eset"). If missing, the names of all available datasets are returned and nothing is downloaded.

test

If TRUE, load small offline test subsets bundled with the package instead of downloading the full datasets. Intended for examples, tests, and vignettes; the subsets are not suitable for analysis.

Value

A single ExpressionSet if one dataset name is given; a named list of ExpressionSets if several; a character vector of available dataset names if datasets is missing.

Details

Downloaded files are stored in a package-specific cache directory (tools::R_user_dir("curatedOvarianData", "cache")). To remove cached files, delete that directory or manage it with BiocFileCache.

Examples

curatedOvarianData()  # list available datasets
#>  [1] "E.MTAB.386_eset"         "GSE12418_eset"          
#>  [3] "GSE12470_eset"           "GSE13876_eset"          
#>  [5] "GSE14764_eset"           "GSE17260_eset"          
#>  [7] "GSE18520_eset"           "GSE19829.GPL570_eset"   
#>  [9] "GSE19829.GPL8300_eset"   "GSE20565_eset"          
#> [11] "GSE2109_eset"            "GSE26193_eset"          
#> [13] "GSE26712_eset"           "GSE30009_eset"          
#> [15] "GSE30161_eset"           "GSE32062.GPL6480_eset"  
#> [17] "GSE32063_eset"           "GSE44104_eset"          
#> [19] "GSE49997_eset"           "GSE51088_eset"          
#> [21] "GSE6008_eset"            "GSE6822_eset"           
#> [23] "GSE8842_eset"            "GSE9891_eset"           
#> [25] "PMID15897565_eset"       "PMID17290060_eset"      
#> [27] "PMID19318476_eset"       "TCGA_eset"              
#> [29] "TCGA.mirna.8x15kv2_eset" "TCGA.RNASeqV2_eset"     
eset <- curatedOvarianData("GSE30161_eset", test = TRUE)
dim(eset)
#> Features  Samples 
#>      202       58 
esets <- curatedOvarianData(c("GSE8842_eset", "GSE30161_eset"), test = TRUE)
names(esets)
#> [1] "GSE8842_eset"  "GSE30161_eset"