downloadData: Import TCGA metadata

Description Usage Arguments Value Author(s) Examples

View source: R/downloadData.R

Description

Download TCGA metadata (.xlsx) from the GDC data portal

Usage

1
2
3
4
5
6
7
8
downloadData(
  URL = NULL,
  fileName = NULL,
  fileType = "EXCEL",
  directory = file.path(".", "TCGA"),
  sheetIndex = 1,
  verbose = TRUE
)

Arguments

URL

character A remote URL for the clinical information

fileName

character A new file name to be saved

fileType

character A file type

directory

character A path to a directory where the file will be saved, create a directory if it does not exist

sheetIndex

numeric The index of the sheet (.xlsx) to read data from

verbose

logical Print status message during download, defaults to TRUE

Value

A downloaded matrix

Author(s)

Heewon Seo, Heewon.Seo@uhnresearch.ca

Examples

1
tcga <- downloadData()

lootpiz/PatiDem documentation built on July 27, 2020, 12:35 a.m.