Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2018 Apr 25:6:e4718.
doi: 10.7717/peerj.4718. eCollection 2018.

phylopath: Easy phylogenetic path analysis in R

Affiliations

phylopath: Easy phylogenetic path analysis in R

Wouter van der Bijl. PeerJ. .

Abstract

Confirmatory path analysis allows researchers to evaluate and compare causal models using observational data. This tool has great value for comparative biologists since they are often unable to gather experimental data on macro-evolutionary hypotheses, but is cumbersome and error-prone to perform. I introduce phylopath, an R package that implements phylogenetic path analysis (PPA) as described by von Hardenberg & Gonzalez-Voyer (2013). In addition to the published method, I provide support for the inclusion of binary variables. I illustrate PPA and phylopath by recreating part of a study on the relationship between brain size and vulnerability to extinction. The package aims to make the analysis straight-forward, providing convenience functions, and several plotting methods, which I hope will encourage the spread of the method.

Keywords: Comparative methods; Evolution; Path analysis; Phylogenetic path analysis; R package.

PubMed Disclaimer

Conflict of interest statement

The author declares that he has no competing interests.

Figures

Figure 1
Figure 1. The model set.
The model set is laid out algorithmically (A) and manually (B).
Figure 2
Figure 2. The relative importance of the four causal models.
Figure 3
Figure 3. The best supported causal model.
A visualization of the best supported causal model, and the standardized path coefficients.
Figure 4
Figure 4. The path coefficients.
Standardized path coefficients and their standard errors, for the best supported model (A) and the average of the top two models (B).

References

    1. Arnold TW. Uninformative parameters and model selection using Akaike’s information criterion. Journal of Wildlife Management. 2010;74(6):1175–1178. doi: 10.2193/2009-367. - DOI
    1. Barton K. MuMIn: multi-model inference. https://CRAN.R-project.org/package=MuMIn 2016
    1. Darwin C. Voyages of the Adventure and Beagle. III. London: Henry Colburn; 1839.
    1. Felsenstein J. Phylogenies and the comparative method. American Naturalist. 1985;125(1):1–15. doi: 10.1086/284325. - DOI - PubMed
    1. Gonzalez-Voyer A, González-Suárez M, Vilà C, Revilla E. Larger brain size indirectly increases vulnerability to extinction in mammals. Evolution. 2016;70(6):1364–1375. doi: 10.1111/evo.12943. - DOI - PubMed

LinkOut - more resources