Nothing
library(MultiAssayExperiment)
library(BiocFileCache)
devtools::load_all()
setCache("/data/16tb/cbio")
data(studiesTable)
full_ids <- studiesTable$cancer_study_id
names(full_ids) <- full_ids
data_links <- vapply(full_ids, downloadStudy, character(1L))
# remain <- full_ids[which(full_ids == "ov_tcga"):length(full_ids)]
# vapply(remain, downloadcBioPortal, character(1L))
dsize <- vapply(names(data_links), .checkSize, logical(1L))
(redl <- names(which(!dsize)))
if (length(redl))
vapply(redl, downloadStudy, character(1L), force = TRUE)
alldata <- lapply(full_ids, function(x) tryCatch(importcBioPortal(x),
error = function(e) e))
classes <- vapply(alldata, function(x) is(x, "MultiAssayExperiment"), logical(1L))
successrate <- (sum(classes)/length(classes)) * 100
isMAE <- vapply(full_ids, function(x) is(tryCatch(importcBioPortal(x),
error = function(e) e), "MultiAssayExperiment"), logical(1L))
sr <- (sum(isMAE)/length(isMAE)) * 100
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.