mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Add synopsis of results
This commit is contained in:
parent
437ae6de84
commit
7b06f626b9
2 changed files with 16 additions and 0 deletions
14
server.R
14
server.R
|
|
@ -87,6 +87,20 @@ server <- function(input, output) {
|
|||
)
|
||||
})
|
||||
|
||||
output$synposis <- renderText({
|
||||
results <- results()
|
||||
|
||||
sprintf(
|
||||
"Found %i candidates including %i/%i verified and %i/%i suggested \
|
||||
TPE-OLD genes.",
|
||||
results[, .N],
|
||||
results[verified == TRUE, .N],
|
||||
inputs$genes[verified == TRUE, .N],
|
||||
results[suggested == TRUE, .N],
|
||||
inputs$genes[suggested == TRUE, .N]
|
||||
)
|
||||
})
|
||||
|
||||
output$scatter <- renderPlot({
|
||||
results <- results()
|
||||
|
||||
|
|
|
|||
2
ui.R
2
ui.R
|
|
@ -37,6 +37,8 @@ ui <- fluidPage(
|
|||
width = 3
|
||||
),
|
||||
mainPanel(
|
||||
h2("Synposis"),
|
||||
textOutput("synposis"),
|
||||
div(
|
||||
style = "overflow-x: auto",
|
||||
div(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue