mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Make custom genes default in comparison editor
This commit is contained in:
parent
e7cbb4ea33
commit
4378e87b2a
4 changed files with 23 additions and 11 deletions
|
|
@ -29,7 +29,7 @@ gene_selector_ui <- function(id, default_gene_ids = NULL) {
|
|||
"list",
|
||||
shinyWidgets::virtualSelectInput(
|
||||
NS(id, "selected_genes"),
|
||||
label = "Select genes",
|
||||
label = NULL,
|
||||
choices = gene_choices,
|
||||
multiple = TRUE,
|
||||
search = TRUE,
|
||||
|
|
@ -40,7 +40,7 @@ gene_selector_ui <- function(id, default_gene_ids = NULL) {
|
|||
"hgnc",
|
||||
textAreaInput(
|
||||
NS(id, "hgnc_names_raw"),
|
||||
"Enter HGNC symbols",
|
||||
label = NULL,
|
||||
value = paste(
|
||||
geposan::genes[
|
||||
id %chin% default_gene_ids & name != "",
|
||||
|
|
@ -55,7 +55,7 @@ gene_selector_ui <- function(id, default_gene_ids = NULL) {
|
|||
"ensembl",
|
||||
textAreaInput(
|
||||
NS(id, "gene_ids_raw"),
|
||||
"Enter Ensembl gene IDs",
|
||||
label = NULL,
|
||||
value = paste(default_gene_ids, collapse = "\n"),
|
||||
height = "250px"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue