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 still in development and the article related to it is still in peer review has been recommended by PCI EvolBiol and is on its way to Peer Community Journal! It is being submitted to CRAN.
The current reference is the recommended preprint of de Villemereuil & Chevin (2025).
Simply useinstall.packages("Reacnorm")
as for any package.
- Install the
remotes
package:install.packages("remotes")
- Install the packages on which Reacnorm depends: cubature, stringi and matrixStats.
install.packages(c("cubature","stringi", "matrixStats", "R.rsp"))
- Using the
remotes
package, 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!