get_genetics_by_sample {cbioportalR} | R Documentation |
Get All Genomic Information By Sample IDs
Description
Get All Genomic Information By Sample IDs
Usage
get_genetics_by_sample(
sample_id = NULL,
study_id = NULL,
sample_study_pairs = NULL,
genes = NULL,
panel = NULL,
add_hugo = TRUE,
base_url = NULL,
return_segments = FALSE
)
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: |
genes |
A vector of Entrez ids or Hugo symbols. If Hugo symbols are supplied, they will be converted to entrez ids using the |
panel |
One or more panel IDs to query (e.g. 'IMPACT468').
If |
add_hugo |
Logical indicating whether |
base_url |
The database URL to query
If |
return_segments |
Default is |
Value
A list of mutations, cna and structural variants (including fusions), if available. Will also return copy number segmentation data if return_segments = TRUE
.
Examples
## Not run:
get_genetics_by_sample(sample_id = c("TCGA-OR-A5J2-01","TCGA-OR-A5J6-01"),
study_id = "acc_tcga",
return_segments = TRUE)
## End(Not run)