ExploreModelMatrix: Interactive exploration for improved understanding of design matrices and linear models in R
Related Experiment Video
Updated: Dec 14, 2025

2D and 3D Matrices to Study Linear Invadosome Formation and Activity
Published on: June 2, 2017
Charlotte Soneson1,2, Federico Marini3,4, Florian Geier2,5
1Friedrich Miescher Institute for Biomedical Research, Basel, Switzerland.
Abstract:
Linear and generalized linear models are used extensively in many scientific fields, to model observed data and as the basis for hypothesis tests. The use of such models requires specification of a design matrix, and subsequent formulation of contrasts representing scientific hypotheses of interest. Proper execution of these steps requires a thorough understanding of the meaning of the individual coefficients, and is a frequent source of uncertainty for end users. Here, we present an R/Bioconductor package, ExploreModelMatrix, which enables interactive exploration of design matrices and linear model diagnostics. Given a sample data table and a desired design formula, the package displays how the model coefficients are combined to give the fitted values for each combination of predictor variables, which allows users to both extract the interpretation of each individual coefficient, and formulate desired linear contrasts. In addition, the interactive interface displays informative characteristics for the regular linear model corresponding to the provided design, such as variance inflation factors and the pseudoinverse of the design matrix. We envision the package and the built-in collection of common types of linear model designs to be useful for teaching and self-learning purposes, as well as for assisting more experienced users in the interpretation of complex model designs.
More Related Videos
Related Concept Videos
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Introduction to R
Multi-input and Multi-variable systems
In the absence of...
Overview of Cell-Matrix Interactions
Introduction to MATLAB
Gaussian Elimination: Problem Solving

