mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Add rank plot
This commit is contained in:
parent
114193506b
commit
527ba01cc9
3 changed files with 48 additions and 0 deletions
6
server.R
6
server.R
|
|
@ -6,6 +6,7 @@ library(rclipboard)
|
|||
library(shiny)
|
||||
|
||||
source("init.R")
|
||||
source("rank_plot.R")
|
||||
source("scatter_plot.R")
|
||||
|
||||
#' Java script function to replace gene IDs with Ensembl gene links.
|
||||
|
|
@ -83,6 +84,11 @@ server <- function(input, output) {
|
|||
results[, rank := .I]
|
||||
})
|
||||
|
||||
output$rank_plot <- renderPlotly({
|
||||
results <- results()
|
||||
rank_plot(results, genes[suggested | verified == TRUE, id])
|
||||
})
|
||||
|
||||
output$genes <- renderDT({
|
||||
method_ids <- sapply(methods, function(method) method$id)
|
||||
method_names <- sapply(methods, function(method) method$name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue