| cgdsr-getCancerStudies {cgdsr} | R Documentation |
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.
## 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
# 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]