1 Star 2 Fork 2

XenaShiny / UCSCXenaShiny

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
deploy.R 657 Bytes
一键复制 编辑 原始数据 按行查看 历史
王诗翔 提交于 2021-07-05 18:31 . 解决数据集预先加载 (#212)
#!/usr/bin/env Rscript
# Copyright (C) 2021 Xena Shiny Team
# The cache directory and port all should be consistent with
# configs in Dockerfile.
# Check system info
print(Sys.info())
# Set options and run app
options(xena.cacheDir = "/xena", xena.zenodoDir = "/xena/datasets")
options(xena.runMode = "server")
library(UCSCXenaShiny)
tryCatch({
# Preload datasets
load_data("transcript_identifier")
load_data("tcga_TIL")
invisible(NULL)
}, error = function(e) {
warning("Preload data failed due to the network, it will try again when starting Shiny!")
})
shiny::shinyAppFile(
system.file("shinyapp", "App.R", package = "UCSCXenaShiny")
)
R
1
https://gitee.com/XenaShiny/UCSCXenaShiny.git
git@gitee.com:XenaShiny/UCSCXenaShiny.git
XenaShiny
UCSCXenaShiny
UCSCXenaShiny
master

搜索帮助