powered by
Pulls all available sample IDs for a given study ID or sample list ID. Either a study ID or sample list ID must be passed. If both sample_list and study_id are not NULL, sample_list ID will be searched and study_id will be ignored.
sample_list
study_id
NULL
available_samples(study_id = NULL, sample_list_id = NULL, base_url = NULL)
A dataframe of sample_ids in a given study
A character string indicating which study ID should be searched. Only 1 study ID allowed.
A character string indicating which sample list ID should be searched. Only 1 sample list ID allowed.
The database URL to query If NULL will default to URL set with set_cbioportal_db(<your_db>)
set_cbioportal_db(<your_db>)
if (FALSE) { set_cbioportal_db("public") available_samples(study_id = "acc_tcga") available_samples(sample_list_id = "acc_tcga_cna") }
Run the code above in your browser using DataLab