Add synopsis of results

This commit is contained in:
Elias Projahn 2021-08-29 15:29:34 +02:00
parent 437ae6de84
commit 7b06f626b9
2 changed files with 16 additions and 0 deletions

View file

@ -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()