| cgdsr-CGDS {cgdsr} | R Documentation |
Creates a CGDS connection object from a CGDS endpoint URL. This object must be passed on to the methods which query the server.
CGDS(url,verbose=FALSE,ploterrormsg='')
url |
A CGDS URL (required). |
verbose |
A boolean variable specifying verbose output (default FALSE) |
ploterrormsg |
An optional message to display in plots if an error occurs (default ”) |
A CGDS connection object. This object must be passed on to the methods which query the server.
<jacobsen@cbio.mskcc.org>
cBio Cancer Genomics Portal: http://www.cbioportal.org/
cgdsr,getCancerStudies,getGeneticProfiles,getCaseLists,getProfileData
# Create CGDS object
mycgds = CGDS("http://www.cbioportal.org/")
# Test the CGDS endpoint URL using a few simple API tests
test(mycgds)
# Get list of cancer studies at server
getCancerStudies(mycgds)