arse
This commit is contained in:
parent
5536a6df55
commit
ff066b7d6a
2 changed files with 6 additions and 2 deletions
|
@ -73,7 +73,9 @@ metadata_cols = c("n_training_size", "n_test_size", "n_trainingY_ratio", "n_test
|
|||
|
||||
# hardcoded list of drugs
|
||||
drug = c("ethambutol", "isoniazid", "pyrazinamide", "rifampicin", "streptomycin")
|
||||
|
||||
drug_choicenames = c("EmbB-ethambutol", "KatG-isoniazid", "PncA-pyrazinamide", "RpoB-rifampicin", "GidB-streptomycin")
|
||||
|
||||
gene = c("embb", "katg", "pnca", "rpob", "gid")
|
||||
combo = data.frame(drug, gene)
|
||||
|
||||
|
@ -248,11 +250,13 @@ if (interactive()){
|
|||
),
|
||||
radioButtons("drug_dropdown",
|
||||
label="Drug",
|
||||
choiceNames = drug_choicenames,
|
||||
choices = drug,
|
||||
selected="pyrazinamide"
|
||||
),
|
||||
radioButtons("split_dropdown",
|
||||
label="Split",
|
||||
choiceNames = split_choicenames,
|
||||
choices = split_type,
|
||||
selected="cd_7030"
|
||||
),
|
||||
|
|
4
ml/ui.R
4
ml/ui.R
|
@ -38,12 +38,12 @@ dashboardPage(skin="purple",
|
|||
radioButtons("drug_dropdown",
|
||||
label="Target-Drug",
|
||||
choiceNames = drug_choicenames,
|
||||
choices = drug,
|
||||
choiceValues = drug,
|
||||
selected="pyrazinamide"
|
||||
),
|
||||
radioButtons("split_dropdown",
|
||||
label="Train:Test Split",
|
||||
choices = split_type,
|
||||
choiceValues = split_type,
|
||||
choiceNames = split_choicenames,
|
||||
selected="cd_7030"
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue