logo

 

Using the R package "ape" from Mesquite

ape citation: Paradis E., Claude J. & Strimmer K. 2004. APE: analyses of phylogenetics and evolution in R language. Bioinformatics 20: 289–290

Mesquite.R's translation package (version 0.6) for ape: W. Maddison & D. Maddison
. Latest version

ape (Analysis of Phylogenetics and Evolution) is an R package whose development has been led by Emmanuel Paradis. Please see ape's web page for more details about these methods.


To use the ape package from Mesquite you need to install the Mesquite.R package. When this is installed, the modules to link to ape are also installed. Not all ape functions are accessible in this way. We have chosen functions we felt would be of most interest; feel free to propose others to be made accessible.

Examples files are included with Mesquite.R, in the directory mesquite/R/MesquiteCallsR/examples, which will be in your Mesquite_Folder once Mesquite.R is installed.

Reconstructing ancestral states for continuous characters

The following options are available as reconstructors of ancestral states (for instance, in Analysis>Trace Character History):

Divergence times / Rate smoothing

The following options are available where branch lengths transformations can be done, such as in the Tree Window under Tree>Alter/Transform Branch Lengths, or using Transform Trees from Other Source:

Plotting trees

Citation

The primary calculations are done by the packages in R. Thus, we suggest a citation like this: "The <insert analysis name here> analysis was performed by the R package ape (Paradis et al. 2004) version <insert version number here>, run via the Mesquite.R package (Maddison & Lapp, 2011) in Mesquite 2.75 (Maddison & Maddison, 2011)."


Mesquite.R's translation package for ape is distributed under a GPL version 2 license.

DISCLAIMER: some of the R functions that Mesquite.R is employing may have bugs or misbehaviours; the authors of Mesquite are not responsible for such problems. BUG REPORTS: If a result is supplied but it seems incorrect, please contact both the authors of the R package and the authors of the Mesquite interface to the R package. If there is a crash, please contact first the authors of the Mesquite interface to the R package.