mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Add chromosome plot
This commit is contained in:
parent
8a19a701b1
commit
9a285fd91b
2 changed files with 12 additions and 0 deletions
|
|
@ -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
8
R/ui.R
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue