arse
This commit is contained in:
parent
c896a04433
commit
5536a6df55
2 changed files with 15 additions and 7 deletions
10
ml/global.R
10
ml/global.R
|
@ -32,7 +32,12 @@ split_type = c(
|
|||
"cd_sl",
|
||||
"none"
|
||||
)
|
||||
|
||||
split_choicenames=c(
|
||||
"70:30",
|
||||
"80:20",
|
||||
"Scaling law",
|
||||
"CV thresholds"
|
||||
)
|
||||
split_file = c(
|
||||
"_70_30_complete",
|
||||
"_80_20_complete",
|
||||
|
@ -68,6 +73,7 @@ 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)
|
||||
|
||||
|
@ -406,4 +412,4 @@ if (interactive()){
|
|||
)
|
||||
app <- shinyApp(ui, server)
|
||||
runApp(app)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue