All functions |
|
|---|---|
applyBenjaminiHochberg |
|
buildLRModel() |
|
buildRecipe() |
|
buildTuningGrid() |
|
buildWflow() |
|
calculateEvalMets() |
|
calculateMinSamples() |
|
computeFeatureFreq |
|
Create machine learning result directories |
|
Create machine learning input list |
|
Demo LR fit |
|
Demo ML input tibble |
|
.calculateAUPRC() |
|
.calculateBalAcc() |
|
.calculateF1() |
|
.calculateLog2APOP() |
|
.calculateMCC() |
|
.calculateSensitivity() |
|
.calculateSpecificity() |
|
.calculatenMCC() |
|
.getFitHps() |
|
.getTargetVarName() |
|
Build leave-one-out (LOO) merged parquet matrices from drug parquet files. |
|
Build leave-one-out (LOO) merged parquet matrices from stratified parquet files. |
|
encodePhenotype |
|
extractTopFeats() |
|
fitBestModel() |
|
Generate all ML input matrices |
|
getConfusionMatrix() |
|
getNumFeat() |
|
loadMLInputTibble() |
|
Compare Baseline Performance With and Without Shuffled Labels |
|
Plot a Confusion Matrix Heatmap |
|
Plot cross-drug prediction as a heatmap |
|
Plot drug phenotype distribution |
|
Plot drug-level model performance |
|
Plot top features' Fisher's significance |
|
Plot multi-drug resistance (MDR) model performance |
|
Plot a Precision-Recall Curve |
|
Plot a Receiver Operating Characteristic (ROC) Curve |
|
Compare shuffled vs real model performance |
|
Plot stratified model performance |
|
Plot top contributing feature clusters |
|
Plot Top Feature Importances |
|
predictML() |
|
removeTopFeats |
|
runFisherTests |
|
runFishers |
|
runIFE Removes top features identified by ML models and retrains iteratively; returns MCC at each iteration. |
|
Run MDR (multi-drug resistance) machine learning models |
|
runMLPipeline() |
|
Run machine learning models with multiple configurations |
|
Run the entire AMR ML pipeline from a parquet-backed DuckDB |
|
selectBestModel() |
|
shuffleLabels() |
|
splitMLInputTibble() |
|
tuneGrid() |
|