Back to Search Start Over

ExploreModelMatrix: Interactive exploration for improved understanding of design matrices and linear models in R.

Authors :
Soneson C
Marini F
Geier F
Love MI
Stadler MB
Source :
F1000Research [F1000Res] 2020 Jun 04; Vol. 9, pp. 512. Date of Electronic Publication: 2020 Jun 04 (Print Publication: 2020).
Publication Year :
2020

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.<br />Competing Interests: No competing interests were disclosed.<br /> (Copyright: © 2020 Soneson C et al.)

Subjects

Subjects :
Learning
Linear Models
Software

Details

Language :
English
ISSN :
2046-1402
Volume :
9
Database :
MEDLINE
Journal :
F1000Research
Publication Type :
Academic Journal
Accession number :
32704355.2
Full Text :
https://doi.org/10.12688/f1000research.24187.2