get_segments_by_sample {cbioportalR} | R Documentation |
Get Copy Number Segmentation Data By Sample ID
Description
Get Copy Number Segmentation Data By Sample ID
Usage
get_segments_by_sample(
sample_id = NULL,
study_id = NULL,
sample_study_pairs = NULL,
base_url = NULL
)
Arguments
sample_id |
a vector of sample IDs (character) |
study_id |
A string indicating the study ID from which to pull data. If no study ID, will
guess the study ID based on your URL and inform. Only 1 study ID can be passed. If mutations/cna from
more than 1 study needed, see |
sample_study_pairs |
A dataframe with columns: |
base_url |
The database URL to query
If |
Value
A dataframe of CNA segments
Examples
## Not run:
set_cbioportal_db("public")
get_segments_by_sample(sample_id = c("s_C_CAUWT7_P001_d"),
study_id = "prad_msk_2019")
## End(Not run)