Nothing
library(shiny)
library(NGLVieweR)
ui = fluidPage(NGLVieweROutput("structure"))
server = function(input, output) {
output$structure <- renderNGLVieweR({
NGLVieweR("7CID") %>%
addRepresentation("cartoon", param = list(name = "cartoon", color =
"residueindex")) %>%
addRepresentation("ball+stick",
param = list(
name = "cartoon",
sele = '1-20',
colorScheme = "element"
)) %>%
stageParameters(backgroundColor = "black") %>%
setQuality("high") %>%
setFocus(0) %>%
setSpin(TRUE)
})
}
shinyApp(ui, server)
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.