get_samples_by_patient {cbioportalR} | R Documentation |
Get sample IDs for a given set of patient IDs
Description
Get sample IDs for a given set of patient IDs
Usage
get_samples_by_patient(patient_id = NULL, study_id = NULL, base_url = NULL)
Arguments
patient_id |
A character string of sample IDs to query |
study_id |
A character string indicating which study ID should be searched. Only 1 study allowed. If NULL, we will guess a default study ID based on your database URL. |
base_url |
The database URL to query
If |
Value
A dataframe of patient IDs and corresponding sample IDs. If patient has multiple samples, there will be multiple rows per patient.
Examples
## Not run:
get_samples_by_patient(patient_id = c("P-0000034", "P-0000036"))
## End(Not run)
[Package cbioportalR version 1.1.0 Index]