Reacnorm provides various functions to partition the phenotypic variance of a plastic trait, studied through its reaction norm. The variance partition distinguishes between the variance arising from the average shape of the reaction norms (V_Plas) and the (additive) genetic variance . The latter is itself separated into an environment-blind component (V_G/V_A) and the component arising from plasticity (V_GxE/V_AxE). The package also provides a way to further partition V_Plas into aspects (slope/curvature) of the shape of the average reaction norm (π-decomposition) and partition V_Add (γ-decomposition) and V_AxE (ι-decomposition) into the impact of genetic variation in the reaction norm parameters.
This package is now available on CRAN and the article related to it has been published in the Peer Community Journal.
Please cite de Villemereuil & Chevin (2025).
- Simply use
install.packages("Reacnorm")as for any package.
- Install the
remotespackage:install.packages("remotes") - Install the packages on which Reacnorm depends: cubature, stringi and matrixStats.
install.packages(c("cubature","stringi", "matrixStats", "R.rsp")) - Using the
remotespackage, install Reacnorm directly from this Github:remotes::install_github("devillemereuil/Reacnorm", build_vignette = TRUE)
You can access the tutorial of the package here, or by using vignette("TutoReacnorm") once the package is installed.
If you encounter any bug or usability issue, or if you have some suggestions or feature request, please use the issue tracker. Thank you!