Skip to content
Snippets Groups Projects
Unverified Commit 4eb5bce1 authored by Todor Kondic's avatar Todor Kondic
Browse files

app: Add inputdir control

parent a99f0a51
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ rv_mzrange <- reactiveValues(min=NA, ...@@ -57,6 +57,7 @@ rv_mzrange <- reactiveValues(min=NA,
max=NA) max=NA)
projects <- list.dirs(path=init$userdir, full.names = F, recursive = F) projects <- list.dirs(path=init$userdir, full.names = F, recursive = F)
inputdirs <- list.dirs(path=init$indir, full.names = F, recursive = F)
``` ```
<style type="text/css"> <style type="text/css">
...@@ -120,6 +121,20 @@ actionButton(inputId = "save_proj_b", ...@@ -120,6 +121,20 @@ actionButton(inputId = "save_proj_b",
label= "Save project") label= "Save project")
``` ```
### Select input directory
```{r, echo=F}
selectInput('indir_list',
label = "Input directories",
choices = inputdirs)
actionButton(inputId = "sel_indir_b",
label= "Select")
```
<details>
<summary>More on input directories</summary>
</details>
## Inputs ## Inputs
<details><summary>Load the compound list(s)</summary> <details><summary>Load the compound list(s)</summary>
...@@ -162,7 +177,7 @@ CSV file used with Shinyscreen. ...@@ -162,7 +177,7 @@ CSV file used with Shinyscreen.
selectInput('comp_list', selectInput('comp_list',
label = "Select compound lists", label = "Select compound lists",
multiple = T, multiple = T,
choices = NULL) choices = inputdirs)
actionButton(inputId = "comp_list_b", actionButton(inputId = "comp_list_b",
label= "Compound list(s)") label= "Compound list(s)")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment