getTCGA {ELMER} | R Documentation

## getTCGA to download DNA methylation, RNA expression and clinic data for all samples of certain cancer type from TCGA.

### Description

getTCGA is a function to download DNA methylation, RNA expression and clinic data for all samples of certain cancer type from TCGA website. And downloaded data will be transform to matrixes or data frame for further analysis.

### Usage

    getTCGA(disease, Meth=TRUE, RNA=TRUE, Clinic=TRUE, basedir="./Data",
                   genome = "hg38", Methfilter=0.2)

### Arguments

`disease` | A character specifies the disease to download in TCGA such as BLCA
`Meth` | A logic if TRUE HM450K DNA methylation data will download.
`RNA` | A logic if TRUE RNA-seq Hiseq-V2 from TCGA level 3 will be download.
`Clinic` | A logic if TRUE clinic data will be download for that disease.
`basedir` | A path shows where the data will be stored.
`genome` | Data aligned against which genome of reference. Options: "hg19", "hg38" (default)
`Methfilter` | A number. For each probe, the percentage of NA among the all the samples should smaller than Methfilter.

### Value

Download DNA methylation (HM450K)/RNAseq(HiseqV2)/Clinic data for the specified disease from TCGA.

### Examples

    getTCGA("BRCA",Meth=FALSE, RNA=FALSE, Clinic=TRUE, basedir="~", genome = "hg19")

[Package ELMER version 2.2.7 Index]