Description Usage Arguments Value Author(s) References See Also Examples
Queries the CGDS API and returns clinical data for a given case list.
1 2 | ## S3 method for class 'CGDS'
getClinicalData(x, caseList, cases, caseIdsKey, ...)
|
x |
A CGDS object (required) |
caseList |
A case list ID |
cases |
A vector of case IDs |
caseIdsKey |
Only used by web portal. |
... |
Not used. |
A data.frame with rows for each case, rownames corresponding to case IDs, and columns:
overall_survival_months: Overall survival, in months.
overall_survival_status: Overall survival status, usually indicated as "LIVING" or "DECEASED".
disease_free_survival_months: Disease free survival, in months.
disease_free_survival_status: Disease free survival status, usually indicated as "DiseaseFree" or "Recurred/Progressed".
age_at_diagnosis: Age at diagnosis.
<jacobsen@cbio.mskcc.org>
cBio Cancer Genomics Portal: http://www.cbioportal.org/
1 2 3 4 5 6 7 8 9 10 11 | # Create CGDS object
mycgds = CGDS("http://www.cbioportal.org/")
getCancerStudies(mycgds)
# Get available case lists (collection of samples) for a given cancer study
mycancerstudy = getCancerStudies(mycgds)[2,1]
mycaselist = getCaseLists(mycgds,mycancerstudy)[1,1]
# Get clinical data for caselist
getClinicalData(mycgds,mycaselist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.