Learn R Programming

RRphylo


The RRphylo package collects tools to compute branch-wise evolutionary rates, estimate ancestral states, locate rate shifts, assess temporal trends in phenotypes and rates, evaluate morphological convergence, along with some useful functions to easily visualize analyses results, assess statistical robustness, and build/manipulate phylogenetic trees.

Installation from CRAN

You can install the released version of RRphylo from CRAN with:

install.packages("RRphylo")

Installation from github

You can install RRphylo from github by using the R package devtools:

install.packages("devtools")

devtools::install_github("pasraia/RRphylo",build_vignettes = TRUE,dependencies=TRUE)

Copy Link

Version

Install

install.packages('RRphylo')

Monthly Downloads

618

Version

3.0.0

License

GPL-2

Maintainer

Silvia Castiglione

Last Published

March 23rd, 2025

Functions in RRphylo (3.0.0)

evo.dir

Phylogenetic vector analysis of phenotypic change
StableTraitsR

Run StableTraits from within R
fix.poly

Resolving polytomies to non-zero length branches
cutPhylo

Cut the phylogeny at a given age or node
conv.map

Mapping morphological convergence on 3D surfaces
RRphylo

Evolutionary rates computation along phylogenies
distNodes

Finding distance between nodes and tips
compRates

Comparing average absolute rates between clades
angle.matrix

Ontogenetic shape vectors analysis
colorbar

Draw colorbar on a plot
namesCompare

Checking species names for misspelling and synonyms
makeL1

Matrix of branch lengths along a root-to-node path
move.lineage

Move tips or clades
getSis

Get sister clade
node.paths

Tracing nodes along paths
getGenus

Taxonomic inspection of the tree at the genus level
makeFossil

Make fossil species on a phylogeny
makeL

Matrix of branch lengths along root-to-tip paths
overfitST

Testing search.trend overfit
lollipoPlot

Lollipop charts
plotRR

Plot the RRphylo output onto the phylogenetic tree
plotConv

Graphical representation of search.conv results
getMommy

Upward tip or node to root path
overfitSC

Testing search.conv overfit
plotShift

Graphical representation of search.shift results
plotRates

Plot RRphylo rates at a specified node
overfitSS

Testing search.shift overfit
overfitPGLS

Testing PGLS_fossil overfit
overfitRR

Testing RRphylo overfit
random.evolvability.test

Randomization test for phylogenetic structuring in evolvability
plotTrend

Graphical representation of search.trend results
scaleTree

Phylogenetic tree calibration
retrieve.angles

Extracting a user-specified subset of the evo.dir results
rate.map

Mapping rate and direction of phenotypic change on 3D surfaces.
sig2BM

Brownian Motion rate computation
treedataMatch

Cross-reference tree and data
sizedsubtree

Find a node subtending to a clade of desired size
search.shift

Locating shifts in phenotypic evolutionary rates
setBM

Producing simulated phenotypes with trends
search.trend

Searching for evolutionary trends in phenotypes and rates
search.conv

Searching for morphological convergence among species and clades
swapONE

Create alternative phylogenies from a given tree
tips

Get descending tips
phyloclust

Test for phylogenetic clustering
rescaleRR

Rescaling phylogenetic trees
resampleTree

Altering phylogenetic trees
tree.merger

Fast construction of phylogenetic trees
rateHistory

Computing historical rates
treeCompare

Visualize the difference between phylogenetic trees
DataFelids

Example dataset
RRphylo-package

Phylogenetic Ridge Regression Methods for Comparative Studies
RRphylo-deprecated

Deprecated functions in Package RRphylo
PGLS_fossil

Phylogenetic Generalized Least Square with phylogenies including fossils
RRphylo-defunct

Defunct functions in Package RRphylo
DataOrnithodirans

Example dataset
DataSimians

Example dataset
DataCetaceans

Example dataset
DataUng

Example dataset
DataApes

Example dataset