University Of Tasmania

File(s) under permanent embargo

MrIML: Multi-response interpretable machine learning to model genomic landscapes

journal contribution
posted on 2023-05-21, 07:04 authored by Nicholas Fountain-JonesNicholas Fountain-Jones, Kozakiewicz, CP, Forester, BR, Landguth, EL, Scott CarverScott Carver, Michael CharlestonMichael Charleston, Gagne, RB, Greenwell, B, Kraberger, S, Trumbo, DR, Mayer, M, Clark, NJ, Machado, G
We introduce a new R package "MrIML" ("Mister iml"; Multi-response Interpretable Machine Learning). MrIML provides a powerful and interpretable framework that enables users to harness recent advances in machine learning to quantify multilocus genomic relationships, to identify loci of interest for future landscape genetics studies, and to gain new insights into adaptation across environmental gradients. Relationships between genetic variation and environment are often nonlinear and interactive; these characteristics have been challenging to address using traditional landscape genetic approaches. Our package helps capture this complexity and offers functions that fit and interpret a wide range of highly flexible models that are routinely used for single-locus landscape genetics studies but are rarely extended to estimate response functions for multiple loci. To demonstrate the package's broad functionality, we test its ability to recover landscape relationships from simulated genomic data. We also apply the package to two empirical case studies. In the first, we model genetic variation of North American balsam poplar (Populus balsamifera, Salicaceae) populations across environmental gradients. In the second case study, we recover the landscape and host drivers of feline immunodeficiency virus genetic variation in bobcats (Lynx rufus). The ability to model thousands of loci collectively and compare models from linear regression to extreme gradient boosting, within the same analytical framework, has the potential to be transformative. The MrIML framework is also extendable and not limited to modelling genetic variation; for example, it can quantify the environmental drivers of microbiomes and coinfection dynamics.


National Science Foundation


Publication title

Molecular Ecology Resources










School of Natural Sciences


Wiley-Blackwell Publishing Ltd

Place of publication

United Kingdom

Rights statement

© 2021 John Wiley & Sons Ltd

Repository Status

  • Restricted

Socio-economic Objectives

Control of pests, diseases and exotic species in terrestrial environments

Usage metrics

    University Of Tasmania