SCR TCGA Crawler

SCR TCGA Crawler

The following code crawls the TCGA repository and returns a character matrix containing the various annotations and properties needed to contribute the datasets to Synapse.  It then contributes any new data entities to Synapse.

library(rSCR); 
# To crawl public site
tcga <- crawlTcga()
# To crawl private site
tcgaPrivate <- crawlTcga(user=tcgaUser,pwd=tcgaPwd,private=TRUE)
# contribute the new entities to Synapse
newEntities <- updateScrWithTcgaCrawlerOutput(tcga, private=FALSE, update=TRUE)
# contribute the new entities to Synapse
newEntities <- updateScrWithTcgaCrawlerOutput(tcga, private=FALSE, update=TRUE)