lookup_id | R Documentation |
This is a general look up function that can take a study ID or patient ID and return what samples exist across entire cBioPortal website (depends on your base URL) that match that ID. It will return which studies include that sample or patient.
lookup_id(lookup_id = NULL, base_url = NULL)
lookup_id |
a sample ID or patient ID |
base_url |
The database URL to query
If |
This can also be useful to see all samples a particular patient has available across all studies on
cBioPortal (see also get_samples_by_patient()
).
A dataframe of general info for sample of patient IDs given
## Not run:
lookup_id <- c("P-0001453-T01-IM3", "P-0000004-T01-IM3", "TCGA-OR-A5JA")
x <- lookup_id(lookup_id = lookup_id, base_url = 'www.cbioportal.org/api')
x
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.