Learn R Programming

TCGAretriever (version 1.9.1)

get_cancer_types: Retrieve Cancer Types.

Description

Retrieve information about cancer types and corresponding abbreviations from cbioportal.org. Information include identifiers, names, and parental cancer type.

Usage

get_cancer_types(dryrun = FALSE)

Value

A data.frame including cancer type information.

Arguments

dryrun

Logical. If TRUE, all other arguments (if any) are ignored and a representative example is returned as output. No Internet connection is required for executing the operation when `dryrun` is TRUE.

Author

Damiano Fantini, damiano.fantini@gmail.com

References

https://www.data-pulse.com/dev_site/TCGAretriever/

Examples

Run this code
# Set `dryrun = FALSE` (default option) in production!
all_canc <- get_cancer_types(dryrun = TRUE)
utils::head(all_canc)

Run the code above in your browser using DataLab