PoonLab / Kaphi

Kernel-embedded ABC-SMC for phylodynamic inference
GNU Affero General Public License v3.0
4 stars 2 forks source link

Shiny: Generating a selectInput from a list of lists goes directly to the deepest layer #77

Closed 0ldM4j0r closed 7 years ago

0ldM4j0r commented 7 years ago

After implementing the nested list data structure i noticed that the drop down menu function in Shiny (selectInput) skips all list layers and moves directly to the deepest layer. I asked the question on Stack Overflow and will be implementing their solution to deal with this issue.

ArtPoon commented 7 years ago

Let's not use a nested list with so many levels. Is it possible to have separate lists, one expressing classes of models (e.g., compartmental) and the specific models within each class (e.g., SIR), and then a second list keyed by model name and containing arrays of parameter names (e.g., "beta", "gamma", ...)?

0ldM4j0r commented 7 years ago

This has already been implemented with the newly agreed on list structure