Other packages > Find by keyword >

rtrees  

Deriving Phylogenies from Synthesis Trees
View on CRAN: Click here


Download and install rtrees package within the R console
Install from CRAN:
install.packages("rtrees")

Install from Github:
library("remotes")
install_github("cran/rtrees")

Install by package version:
library("remotes")
install_version("rtrees", "2.0.2")



Attach the package and use:
library("rtrees")
Maintained by
Daijiang Li
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-11
Latest Update: 2026-06-11
Description:
Provides tools to derive species-level phylogenies from large synthesis mega-trees for a wide range of taxonomic groups, including plants, birds, mammals, amphibians, reptiles, fish, bees, butterflies, and sharks. When a queried species is absent from the mega-tree, it is grafted onto the tree using one of two placement strategies: attachment at the basal node of the most closely related genus or family ('at_basal_node'), or random attachment below that basal node with probability proportional to branch length ('random_below_basal'). See Li (2023) <doi:10.1111/ecog.06643> for details. Multiple species from a genus not represented in the mega-tree are placed as a polytomy to preserve clade coherence. The package interfaces with the 'megatrees' data package, which bundles or downloads on demand curated mega-trees. Users can also provide their own mega-trees.
How to cite:
Daijiang Li (2026). rtrees: Deriving Phylogenies from Synthesis Trees. R package version 2.0.2, https://cran.r-project.org/web/packages/rtrees. Accessed 27 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited rtrees R package
View rtrees citation profile
Other R packages that rtrees depends, imports, suggests or enhances
Complete documentation for rtrees
Functions, R codes and Examples using the rtrees R package
Full rtrees package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  
SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
Download / Learn more Package Citations See dependency  
spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  
exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA