mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Generalize method definitions
This commit is contained in:
parent
d3edeefbe2
commit
9b0b3c13f5
7 changed files with 137 additions and 169 deletions
40
ui.R
40
ui.R
|
|
@ -3,6 +3,8 @@ library(plotly)
|
|||
library(rclipboard)
|
||||
library(shiny)
|
||||
|
||||
source("methods.R")
|
||||
|
||||
ui <- fluidPage(
|
||||
rclipboardSetup(),
|
||||
titlePanel("TPE-OLD candidates"),
|
||||
|
|
@ -22,33 +24,17 @@ ui <- fluidPage(
|
|||
),
|
||||
wellPanel(
|
||||
h3("Ranking"),
|
||||
sliderInput(
|
||||
"clusteriness",
|
||||
"Clustering of genes",
|
||||
post = "%",
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
value = 58
|
||||
),
|
||||
sliderInput(
|
||||
"correlation",
|
||||
"Correlation with known genes",
|
||||
post = "%",
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
value = 36
|
||||
),
|
||||
sliderInput(
|
||||
"neural",
|
||||
"Assessment by neural network",
|
||||
post = "%",
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
value = 6
|
||||
),
|
||||
lapply(methods, function(method) {
|
||||
sliderInput(
|
||||
method$id,
|
||||
method$description,
|
||||
post = "%",
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
value = 100
|
||||
)
|
||||
}),
|
||||
sliderInput(
|
||||
"cutoff",
|
||||
"Cut-off score",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue