Learn R Programming

cgdsr (version 1.2.3)

cgdsr-CGDS: Construct a CGDS connection object

Description

Creates a CGDS connection object from a CGDS endpoint URL. This object must be passed on to the methods which query the server.

Usage

CGDS(url,verbose=FALSE,ploterrormsg='')

Arguments

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 '')

Value

  • A CGDS connection object. This object must be passed on to the methods which query the server.

References

cBio Cancer Genomics Portal: http://www.cbioportal.org/

See Also

cgdsr,getCancerStudies,getGeneticProfiles,getCaseLists,getProfileData

Examples

Run this code
# Create CGDS object
mycgds = CGDS("http://www.cbioportal.org/public-portal/")

# Test the CGDS endpoint URL using a few simple API tests
test(mycgds) 

# Get list of cancer studies at server
getCancerStudies(mycgds)

Run the code above in your browser using DataLab