inst/shiny-scripts/app.R

library(shiny)

ui <- fluidPage(headerPanel('Intron Visualization'), 
                mainPanel(plotOutput('plot')))

server <- function(input, output) {
  chr <- intron_tracker("chr17")
  p <- organismDB_mod("BRCA1", "NBR1", chr)
  output$plot <- p
}

shinyApp(ui = ui, server = server)
cheejus2/Intron_Vis documentation built on Dec. 8, 2019, 10:35 a.m.