我有以下R代码(BatchQC包)
library(BatchQC)
nbatch <- 3
ncond <- 2
npercond <- 10
data.matrix <- rnaseq_sim(ngenes=50, nbatch=nbatch, ncond=ncond, npercond=
npercond, basemean=10000, ggstep=50, bbstep=2000, ccstep=800,
basedisp=100, bdispstep=-10, swvar=1000, seed=1234)
batch <- rep(1:nbatch, each=ncond*npercond)
condition <- rep(rep(1:ncond, each=npercond), nbatch)
batchQC(data.matrix, batch=batch, condition=condition,
report_file="batchqc_report.html", report_dir=".",
report_option_binary="111111111",
view_report=FALSE, interactive=TRUE, batchqc_output=TRUE)
Run Code Online (Sandbox Code Playgroud)
在RStudio控制台中运行时,会产生以下结果:
我的问题是如何通过我当地的Shiny Server显示该网站
/srv/shiny-server/
Run Code Online (Sandbox Code Playgroud)
本地闪亮服务器是什么意思?当您从 R 运行预览时,它已经是本地的了。如果您的计算机上安装了完整的shiny服务器,只需在sample-apps中创建一个文件夹,然后将浏览器指向shiny服务器(通常为http://127.0.0.1:3838/sample-apps/youfolder/