Add chromosome plot

This commit is contained in:
Elias Projahn 2021-11-22 13:54:04 +01:00
parent 8a19a701b1
commit 9a285fd91b
2 changed files with 12 additions and 0 deletions

View file

@ -195,6 +195,10 @@ server <- function(input, output, session) {
) )
}) })
output$chromosome_plot <- plotly::renderPlotly({
geposan::plot_chromosomes(ranking())
})
output$gost <- plotly::renderPlotly({ output$gost <- plotly::renderPlotly({
if (input$enable_gost) { if (input$enable_gost) {
result <- gprofiler2::gost( result <- gprofiler2::gost(

8
R/ui.R
View file

@ -52,6 +52,14 @@ ui <- fluidPage(
height = "600px" height = "600px"
) )
), ),
div(
style = "margin-top: 16px",
plotly::plotlyOutput(
"chromosome_plot",
width = "100%",
height = "600px"
)
),
), ),
tabPanel( tabPanel(
"Analysis", "Analysis",