GDCquery_clinic {TCGAbiolinks} | R Documentation

## Get GDC clinical data

### Description

GDCquery_clinic will download all clinical information from the API as the one with using the button from each project

### Usage

    GDCquery_clinic(project, type = "clinical", save.csv = FALSE)

### Arguments

`project` | A valid project (see list with getGDCprojects()$project_id)]
`type` | A valid type. Options "clinical", "Biospecimen" (see list with getGDCprojects()$project_id)]
`save.csv` | Write clinical information into a csv document

### Value

A data frame with the clinical information

### Examples

    clin <- GDCquery_clinic("TCGA-ACC", type = "clinical", save.csv = TRUE)
    clin <- GDCquery_clinic("TCGA-ACC", type = "biospecimen", save.csv = TRUE)

[Package TCGAbiolinks version 2.10.5 Index]