cgdsr-CGDS: Construct a CGDS connection object

Description Usage Arguments Value Author(s) References See Also Examples

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

1
CGDS(url,verbose=FALSE,ploterrormsg='',token=NULL)

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

token

An optional 'Authorization: Bearer' token to connect to cBioPortal instances that require authentication (default NULL)

Value

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

Author(s)

<jacobsen@cbio.mskcc.org>

References

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

See Also

cgdsr,getCancerStudies,getGeneticProfiles,getCaseLists,getProfileData

Examples

1
2
3
4
5
6
7
8
# 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)

cgdsr documentation built on June 27, 2019, 5:07 p.m.