Package: rtrees 2.0.2
rtrees: Deriving Phylogenies from Synthesis Trees
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.
Authors:
rtrees_2.0.2.tar.gz
rtrees_2.0.2.zip(r-4.7)rtrees_2.0.2.zip(r-4.6)rtrees_2.0.2.zip(r-4.5)
rtrees_2.0.2.tgz(r-4.6-x86_64)rtrees_2.0.2.tgz(r-4.6-arm64)rtrees_2.0.2.tgz(r-4.5-x86_64)rtrees_2.0.2.tgz(r-4.5-arm64)
rtrees_2.0.2.tar.gz(r-4.7-arm64)rtrees_2.0.2.tar.gz(r-4.7-x86_64)rtrees_2.0.2.tar.gz(r-4.6-arm64)rtrees_2.0.2.tar.gz(r-4.6-x86_64)
rtrees_2.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rtrees/json (API)
| # Install 'rtrees' in R: |
| install.packages('rtrees', repos = c('https://daijiang.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/daijiang/rtrees/issues
Pkgdown/docs site:https://daijiang.github.io
- classifications - Classifications of species
- taxa_supported - Taxonomic groups supported
Last updated from:b786f81708. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 208 | ||
| linux-devel-x86_64 | OK | 217 | ||
| source / vignettes | OK | 200 | ||
| linux-release-arm64 | OK | 190 | ||
| linux-release-x86_64 | OK | 185 | ||
| macos-release-arm64 | OK | 138 | ||
| macos-release-x86_64 | OK | 276 | ||
| macos-oldrel-arm64 | OK | 141 | ||
| macos-oldrel-x86_64 | OK | 329 | ||
| windows-devel | OK | 185 | ||
| windows-release | OK | 239 | ||
| windows-oldrel | OK | 213 | ||
| wasm-release | OK | 126 |
Exports:add_root_infobind_tipget_graft_statusget_one_treeget_treerm_starssp_list_df
Dependencies:apecastorclicodetoolscpp11data.tabledigestdplyrfastmatchfsfurrrfuturegenericsglobalsgluejsonlitelatticelazyevallifecyclelistenvmagrittrMatrixmegatreesnaturalsortnlmeparallellypillarpkgconfigpurrrR6rappdirsRcppRcppEigenrlangRSpectrastringistringrtibbletidyrtidyselecttidytreeutf8vctrswithryulab.utils
grafting_scenarios
Rendered fromgrafting_scenarios.html.asisusingR.rsp::asison Jun 01 2026.Last update: 2026-05-25
Started: 2026-05-25
Non-monophyletic-groups
Rendered fromNon-monophyletic-groups.html.asisusingR.rsp::asison Jun 01 2026.Last update: 2026-05-25
Started: 2026-05-25
Simple_example
Rendered fromSimple_example.html.asisusingR.rsp::asison Jun 01 2026.Last update: 2026-05-18
Started: 2026-05-18
Speed comparisons
Rendered fromspeed.Rmdusingknitr::rmarkdownon Jun 01 2026.Last update: 2026-05-18
Started: 2023-01-03
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Add genus and family basal/root node information to a phylogeny | add_root_info |
| Bind a tip to a phylogeny | bind_tip |
| Bind a tip to a phylogeny (data frame version) | bind_tip_df |
| Classifications of species | classifications |
| Extract grafting status information as a data frame | get_graft_status |
| Derive a phylogeny from a mega-tree | get_one_tree |
| Get one or multiple trees from megatree(s) | get_tree |
| Remove trailing * | rm_stars |
| Convert a vector of species names to a data frame | sp_list_df |
| Taxonomic groups supported | taxa_supported |
