# NOT RUN {
# Note: internet access required. May need more than 10 seconds.
# list all studies of cBioPortal
library(cgdsr)
cgds <- CGDS("http://www.cbioportal.org/public-portal/")
all.studies <- getCancerStudies(cgds)
# pick a "caner_study_id" (contain a mutation data set)
# pick a primary HGNC gene symbol to query
mutation.dat <- getMutationsFromCbioportal("msk_impact_2017", "TP53")
mutation.dat <- getMutationsFromCbioportal("all_stjude_2016", "TP53")
# }
Run the code above in your browser using DataLab