Description Usage Arguments Value Author(s) References See Also Examples
Queries the CGDS API and returns available cancer studies. Input is a CGDS object and output is a data.matrix with information regarding the different cancer studies.
1 2 | ## S3 method for class 'CGDS'
getCancerStudies(x, ...)
|
x |
A CGDS object (required) |
... |
Not used. |
A data.frame with three colums:
cancer_study_id: unique ID used to identify the cancer study in subsequent interface calls. This is a human readable ID.
name: short name of the cancer type.
description: short description of the cancer type, describing the source of study.
<jacobsen@cbio.mskcc.org>
cBio Cancer Genomics Portal: http://www.cbioportal.org/
cgdsr
,CGDS
,getGeneticProfiles
,getCaseLists
1 2 3 4 5 6 7 8 | # 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]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.