getTCGA: getTCGA to download DNA methylation, RNA expression and...

Description Usage Arguments Value Author(s) References Examples

View source: R/FetchTCGA.R

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

1
2
getTCGA(disease, Meth = TRUE, RNA = TRUE, Clinic = TRUE,
  basedir = "./Data", RNAtype = "gene", 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.

RNAtype

A charactor to specify whether use isoform level or gene level. When RNAtype=gene, gene level gene expression will be used. When isoform, then isoform data will be used.

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.

Author(s)

Lijing Yao (maintainer: lijingya@usc.edu)

References

https://tcga-data.nci.nih.gov/tcga/tcgaHome2.jsp

Examples

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

lijingya/ELMER documentation built on May 21, 2019, 6:14 a.m.