Randomly shuffles the AMR phenotype labels in the ML-ready tibble.
shuffleLabels(ml_input_tibble, seed = 5280)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.
pillar::num For reproducible analysis
Pangenome with randomly shuffled AMR phenotype labels