Returns the name of the target variable to be used for machine learning: either genome_drug.resistant_phenotype or resistant_classes

.getTargetVarName(ml_input_tibble)

Arguments

ml_input_tibble

An ML-ready tibble generated by loadMLInputTibble(). This must have a target variable column named either genome_drug.resistant_phenotype ("Resistant" or "Susceptible " classification for one bug/drug combination) or resistant_classes (multi-class classification for determining the drug classes to which each genome is resistant), but not both.

Value

The name of the target variable to be used for machine learning: either rlang::sym("genome_drug.resistant_phenotype") or rlang::sym("resistant_classes")