Skip to contents

Get all available clinical attribute IDs for a study

Usage

available_clinical_attributes(study_id = NULL, base_url = NULL)

Arguments

study_id

cbioportal study ID

base_url

The database URL to query. If NULL will default to URL set with set_cbioportal_db(<your_db>)

Value

a data frame of available clinical attributes for that study

Examples

# \dontrun{
available_clinical_attributes("acc_tcga", base_url = 'www.cbioportal.org/api')
#> # A tibble: 109 × 7
#>    displayName                    description datatype patientAttribute priority
#>    <chr>                          <chr>       <chr>    <lgl>            <chr>   
#>  1 Diagnosis Age                  Age at whi… NUMBER   TRUE             1       
#>  2 Neoplasm Disease Stage Americ… The extent… STRING   TRUE             1       
#>  3 American Joint Committee on C… The versio… STRING   TRUE             1       
#>  4 Atypical Mitotic Figures       Atypical M… STRING   TRUE             1       
#>  5 Cancer Type                    Cancer type STRING   FALSE            1       
#>  6 Cancer Type Detailed           Cancer typ… STRING   FALSE            1       
#>  7 CAPSULAR INVASION              CAPSULAR I… STRING   TRUE             1       
#>  8 Neoplasm American Joint Commi… Stage grou… STRING   TRUE             1       
#>  9 Clinical Status Within 3 Mths… Clinical S… STRING   TRUE             1       
#> 10 Neoplasm American Joint Commi… Extent of … STRING   TRUE             1       
#> # ℹ 99 more rows
#> # ℹ 2 more variables: clinicalAttributeId <chr>, studyId <chr>
# }