caretMultimodal

caretMultimodal extends the caret framework to support late fusion workflows in R, enabling users to train models independently across multiple data modalities and combine their predictions into a single meta-model. Designed for R developers, data scientists, and biomedical researchers, caretMultimodal makes late fusion ensemble modelling as accessible and flexible as single-dataset workflows in caret.

Example late fusion workflow using cross-validation

caretMultimodal cross-validation workflow

Key Features

Documentation

Full API documentation is available at compbio-lab.github.io/caretMultimodal

Installation

The package can be installed using devtools

# devtools::install_github("CompBio-Lab/caretMultimodal")
install.packages("caretMultimodal", repos = c('https://compbio-lab.r-universe.dev', 'https://cloud.r-project.org'))

Acknowledgements

The project structure is inspired by Zach Mayer's caretEnsemble package, which is used for stacking multiple models on a single dataset.