Learn R Programming

cbioportalR (version 1.1.0)

get_segments_by_study: Get Copy Number Segmentation Data By Study

Description

Get Copy Number Segmentation Data By Study

Usage

get_segments_by_study(study_id = NULL, add_hugo = TRUE, base_url = NULL)

Value

A dataframe of CNA segments

Arguments

study_id

A study ID to query mutations. If NULL, guesses study ID based on molecular_profile_id.

add_hugo

Logical indicating whether HugoGeneSymbol should be added to your resulting data frame, if not already present in raw API results. Argument is TRUE by default. If FALSE, results will be returned as is (i.e. any existing Hugo Symbol columns in raw results will not be removed).

base_url

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

Examples

Run this code
if (FALSE) {
get_segments_by_study(study_id = "prad_msk_2019")
get_segments_by_study(molecular_profile_id = "prad_msk_2019_cna")
}

Run the code above in your browser using DataLab