spsBio is a systemPipeShiny(SPS) plugin that provides additional plotting functions and SPS tabs to visualize biological data.
To install SPS and spsBio:
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("systemPipeR/systemPipeShiny", build_vignettes=TRUE, dependencies=TRUE)
BiocManager::install("systemPipeR/spsBio", build_vignettes=TRUE, dependencies=TRUE)
Before starting with SPS, you need to create a SPS project:
systemPipeShiny::spsInit()
Once the project is created, change your working directory to the project if
you selected change_wd = FALSE
in the previous step. Then run:
systemPipeShiny::spsLoadPlugin("spsBio")
That should be all you need. In your global.R, specify you want to run this plugin when app starts:
{r, eval=FALSE}
sps_app <- sps(
vstabs = "",
plugin = "spsBio",
server_expr = {
msg("Custom expression runs -- Hello World", "GREETING", "green")
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.