Skip to content

DIABLO: Supervised sPLS-DA

The other three methods here are unsupervised. They read the data and report the structure they find. DIABLO does the opposite. You hand it a label, IGHV status, and it selects a small panel of features from every layer that both separates the two classes and stays correlated across layers. It is the method for biomarker discovery, where the deliverable is a short signature you can act on rather than a map of variation.

DIABLO extends sparse PLS-DA to several data blocks. Sparse, because it forces most feature weights to zero and keeps only a handful per block. Multi-block, because it ties the blocks together through a design matrix so the selected features agree across layers instead of each block discriminating in isolation.

Each component is a set of sparse loadings, one vector per block, chosen to maximize the covariance with the outcome and, controlled by a design matrix, with the other blocks. Two knobs matter. keepX sets how many features to keep per block per component, which is the sparsity. The design matrix, between 0 and 1 off the diagonal, trades pure discrimination against between-block correlation. The example uses repeated cross-validation to choose the component count and summarize classification error. The ROC curves below instead describe the final model on its fitted cohort.

This page is R only: mixOmics has no mainstream Python implementation. It runs in the pinned multi-omics container, with the CLL data from the MOFAdata package inside it.

IGHV is the outcome, so it is removed from the Mutations block. The analysis keeps the 188 patients with known IGHV status, fills missing predictor values with feature medians, scales continuous blocks, and leaves the binary mutation scale unchanged. It does not require every retained patient’s measurements to be complete.

The script performs that preprocessing on the full retained cohort before cross-validation. Component selection and performance assessment also use the same cohort. The reported error therefore describes this exploratory procedure; it does not estimate an independently evaluated prediction pipeline. Such an evaluation would repeat preprocessing and model selection within training data and reserve separate data for the final assessment.

The CLL matrices come from the MOFAdata data package, distributed by Ricard Argelaguet, Britta Velten, and colleagues under LGPL-3. The package identifies the Dietrich and colleagues study as the source and documents its processed measurement blocks. The data and license notice identifies the original objects and the transformations made for these lessons.

library(mixOmics)
# Off-diagonal 0.1 tilts DIABLO toward discrimination over block correlation.
design <- matrix(0.1, 4, 4); diag(design) <- 0
# Choose the number of components by repeated cross-validation, then fit.
perf_ncomp <- perf(init_model, validation = "Mfold", folds = 3, nrepeat = 5)
ncomp <- perf_ncomp$choice.ncomp$WeightedVote["Overall.BER",
"centroids.dist"] # 2
model <- block.splsda(X, Y, ncomp = ncomp, keepX = keepX, design = design)

Cross-validation settles on two components. Projected onto them, each block separates the two IGHV subtypes, cleanly for methylation, loosely for mutations.

DIABLO sample plot, one panel per block, M versus U separation (R)

The panel DIABLO selects on the first component is 20 features each from drugs, methylation, and expression, and 9 mutations.

DIABLO component 1 loadings, selected features per block (R)

The printed mutation selection includes del11q22.3, BRAF, TP53, NOTCH1, del17p13, ATM, SF3B1, and del13q14. The script prints only the first eight names from each block, so that list is not the complete nine-feature selection. Known CLL lesions provide context for the fitted panel; their presence does not validate its predictions in new patients. The circos plot draws correlations among selected features across the four blocks at a 0.7 cutoff.

DIABLO circos plot, cross-block correlations among selected features (R)

The repeated folds give a balanced error of 0.085 at two components. This is the average of the class error rates, not the fraction of all patients misclassified. The unmutated class has about 1% error and the mutated class about 16%. Interpret these values with the preprocessing and model selection limits above.

DIABLO per-block ROC curves (R)

The ROC curves come from auroc(model) on the fitted cohort, not from held-out predictions. Methylation has AUC 0.996, followed by drug response at 0.936, expression at 0.913, and mutations at 0.808. These values describe separation in the training data. They are not cross-validated AUC estimates and should not be compared with external test performance.

DIABLO needs a label, so it cannot discover structure you have not named. Point it at IGHV and it finds an IGHV panel; it will not surface an unexpected axis the way MOFA can. The panel is specific to the chosen outcome, and the sparsity and component count are choices you must validate rather than trust. For discovery without a label, start with MOFA or MCIA and bring DIABLO in once you have a phenotype worth predicting.

The runnable scripts and the container are in the companion code repo under guides/multi-omics/diablo/.

Rohart and colleagues, 2017 describe mixOmics for omics feature selection and multiple data integration.

  • mixOmics 6.36.0 source and reference files

    The block.splsda and perf help files define design weights, selected features, and repeated validation. Use those definitions to distinguish fitted-cohort ROC curves from predictions made outside training folds.

  • MOFAdata dataset overview

    The vignette identifies the processed CLL measurements and their source study. Its dimensions explain which assays enter the four matched data blocks.