Skip to contents

ModelArray is an R package for statistical analysis of fixel-wise data. Its features include:

  • Easy to use: set up your statistical analysis with just several lines of code;
  • Supporting linear and nonlinear modeling, and extensible to more models:
    • At present, ModelArray supports linear models as well as generalized additive models (GAMs) with and without penalized splines, which are particularly useful for studying nonlinear effects in lifespan data. ModelArray is also extensible to diverse models available in R.
  • Scalable for large-scale datasets.


Please refer to webpage Installation for a full guidance of installation of ModelArray and its companion python package ConFixel. The most important steps for installing ModelArray are:

Additionally, we also provide a container image that includes ModelArray and ConFixel. With this container image, there is no need for the user to install ModelArray, ConFixel, and dependent R and Python packages. Please see this webpage for how to use this container image.

How to use

Load the ModelArray package into R via:

We provide a walkthrough here.

For documentation of ModelArray functions, you can:

Full documentation of ModelArray can be found here.

Source code of ModelArray can be found here.