mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Properly set replicative species
This commit is contained in:
parent
4cf5bff125
commit
667eb8f2a3
2 changed files with 6 additions and 7 deletions
|
|
@ -3,14 +3,10 @@ preset_editor_ui <- function(id) {
|
|||
species_choices <- species$id
|
||||
names(species_choices) <- species$name
|
||||
|
||||
species_selected <- species_ids_replicative
|
||||
|
||||
known_genes <- genes[name != ""]
|
||||
gene_choices <- known_genes$id
|
||||
names(gene_choices) <- known_genes$name
|
||||
|
||||
genes_selected <- genes[suggested | verified == TRUE, id]
|
||||
|
||||
verticalLayout(
|
||||
h3("Preset"),
|
||||
selectInput(
|
||||
|
|
@ -28,7 +24,7 @@ preset_editor_ui <- function(id) {
|
|||
inputId = NS(id, "species"),
|
||||
label = "Included species",
|
||||
choices = species_choices,
|
||||
selected = species_selected,
|
||||
selected = species_replicative,
|
||||
options = list(
|
||||
"actions-box" = TRUE,
|
||||
"live-search" = TRUE
|
||||
|
|
@ -39,7 +35,7 @@ preset_editor_ui <- function(id) {
|
|||
inputId = NS(id, "reference_genes"),
|
||||
label = "Reference genes",
|
||||
choices = gene_choices,
|
||||
selected = genes_selected,
|
||||
selected = genes_tpe_old,
|
||||
options = list(
|
||||
"actions-box" = TRUE,
|
||||
"live-search" = TRUE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue