GEO_Download_DNAMethylation: The GEO_Download_DNAmethylation function

View source: R/GEO_Download_Preprocess.R

GEO_Download_DNAMethylationR Documentation

The GEO_Download_DNAmethylation function

Description

Download the methylation data and the associated sample phenotypic data from the GEO database.

Usage

GEO_Download_DNAMethylation(
  AccessionID,
  targetDirectory = ".",
  DownloadData = TRUE
)

Arguments

AccessionID

character string indicating GEO accession number. Currently support the GEO series (GSE) data type.

targetDirectory

character string indicting the file path to save the data. Default: '.' (current directory).

DownloadData

logical indicating whether the actual data should be downloaded (Default: TRUE). If False, the desired directory where the downloaded data should have been saved is returned.

Value

a list with two elements. The first element ('$MethylationData') indicating the file path to the downloaded methylation data. The second element ('$PhenotypicData') indicating the file path to the sample phenotypic data.

Examples


METdirectories <- GEO_Download_DNAMethylation(AccessionID = 'GSE114134',
                                              targetDirectory = tempdir())


gevaertlab/EpiMix documentation built on July 20, 2023, 9:28 a.m.