# Create CGDS object
mycgds = CGDS("http://www.cbioportal.org/public-portal/")
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]Run the code above in your browser using DataLab