TCGA is a very useful database and here we provide this function to download TCGA (include TCGA Pancan) datasets in human-friendly way. Users who are not familiar with R operation will benefit from this.
Usage
downloadTCGA(
project = NULL,
data_type = NULL,
file_type = NULL,
destdir = tempdir(),
force = FALSE,
...
)Arguments
- project
default is
NULL. Should be one or more of TCGA project id (character vector) provided by Xena. See all available project id, please useavailTCGA("ProjectID").- data_type
default is
NULL. Should be a character vector specify data type. See all available data types byavailTCGA("DataType").- file_type
default is
NULL. Should be a character vector specify file type. See all available file types byavailTCGA("FileType").- destdir
specify a location to store download data. Default is system temp directory.
- force
logical. if
TRUE, force to download data no matter whether files exist. Default isFALSE.- ...
other argument to
download.filefunction
Value
same as XenaDownload() function result.
Details
All availble information about datasets of TCGA can access vis availTCGA() and
check with showTCGA().
Author
Shixiang Wang w_shixiang@163.com
