get_cancer_types: Retrieve Cancer Types.

View source: R/tcgaretriever_v_1_9e.R

get_cancer_typesR Documentation

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)

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.

Value

A data.frame including cancer type information.

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

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

Examples

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


dami82/TCGAretriever documentation built on Feb. 2, 2024, 12:06 p.m.