getCases {canceR} | R Documentation |
Get cases for selected Studies. The Cases are the descrption of the samples from patients. The samples can be subdivided by the type of assays as, sequencing, CNA, Mutation, Methylation.
getCases()
a dataframe with cases
# Create CGDS object cgds<-CGDS("http://www.cbioportal.org/public-portal/") # Get list of cancer studies at server Studies <- getCancerStudies(cgds)[,2] # Get available case lists (collection of samples) for a given cancer study mycancerstudy <- getCancerStudies(cgds)[2,1] mycaselist <- getCaseLists(cgds,mycancerstudy)[1,1] ## Not run: ##getCases() ## End(Not run)