Package: extendedSurface 0.1.0
Nicolas Mongiardino Koch
extendedSurface: Fit Complex Multi-OU Models by Extending SURFACE and Providing an Interface with OUwie
Multi Ornstein Uhlenbeck (OUM) models are routinely employed to describe the phenotypic evolution of clades across a macroevolutionary adaptive landscape. Multiple implementations exist, including those that require an a priori assigment of lineages to adaptive regimes (e.g., OUwie), and those that infer the location of such regimes shifts (e.g., SURFACE). However, SURFACE has been found to favor overly complex models, which is likely a consequence of fixing a single rate of evolution and force of attraction for the entire tree. Although these parameters can be optimized for each regime by using the SURFACE output as the set of regime shifts required by OUwie, such complex models often fail to be optimized. extendedSurface provides a solution by continuing the backwards phase of SURFACE, merging regimes and generating simpler (yet suboptimal) multiOU models. These are then fed to OUwie, where parameters for each regime can be independetly optimized. Using simpler OUM models as starting points improves the probability of successful model fitting. The resulting models are more realistic, and have been found to be favored over others using empirical comparative datasets. The package allows the user to decide which models should be fit (OUMA, OUMV, OUMVA, with and without stationary root state), and plots the fit of these against those explored by SURFACE to easily compare model fit. Additionally, several approaches to record and plot the evolutionary dynamics of discrete traits through time are also implemented.
Authors:
extendedSurface_0.1.0.tar.gz
extendedSurface_0.1.0.zip(r-4.5)extendedSurface_0.1.0.zip(r-4.4)extendedSurface_0.1.0.zip(r-4.3)
extendedSurface_0.1.0.tgz(r-4.4-any)extendedSurface_0.1.0.tgz(r-4.3-any)
extendedSurface_0.1.0.tar.gz(r-4.5-noble)extendedSurface_0.1.0.tar.gz(r-4.4-noble)
extendedSurface_0.1.0.tgz(r-4.4-emscripten)extendedSurface_0.1.0.tgz(r-4.3-emscripten)
extendedSurface.pdf |extendedSurface.html✨
extendedSurface/json (API)
# Install 'extendedSurface' in R: |
install.packages('extendedSurface', repos = c('https://phylotastic.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mongiardino/extendedsurface/issues
- echinoid_data - Comparative dataset used to explore the macroevolution of echinoid body size.
Last updated 3 years agofrom:de922e5de5. Checks:ERROR: 1 WARNING: 6. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | FAIL | Nov 10 2024 |
R-4.5-win | WARNING | Nov 10 2024 |
R-4.5-linux | WARNING | Nov 10 2024 |
R-4.4-win | WARNING | Nov 10 2024 |
R-4.4-mac | WARNING | Nov 10 2024 |
R-4.3-win | WARNING | Nov 10 2024 |
R-4.3-mac | WARNING | Nov 10 2024 |
Exports:extended_surfaceAICPlotplot_tttsurfaceExtendedtransitions_through_time
Dependencies:apebitopscliclusterGenerationcodacodetoolscolorspacecombinatcorHMMcorpcorcowplotcpp11data.tabledeldirDEoptimdeSolvedigestdoParalleldplyrexpmfansifarverforeachfuturefuture.applygeigergenericsGenSAggplot2globalsgluegmpgridExtragtableigraphinterpisobanditeratorsjsonlitelabelinglatticelhslifecyclelistenvmagrittrmapsMASSMatrixmgcvmnormtmunsellmvtnormncbitnlmenloptrnnetnumDerivoptimParallelouchOUwiepaleotreeparallellyphangornphylolmphytoolspillarpkgconfigplyrpngquadprogR6RColorBrewerRcppRcppArmadilloRcppEigenRCurlreshape2rlangRmpfrscalesscatterplot3dstringistringrsubplexsurfacetibbletidyselectutf8vctrsviridisviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Comparative dataset used to explore the macroevolution of echinoid body size. | echinoid_data |
Plot AICc values of multi-OU models | extended_surfaceAICPlot |
Plot trait dynamics through time | plot_ttt |
Interface between SURFACE and OUwie to fit complex multi-OU models | surfaceExtended |
Summarize trait dynamics through time | transitions_through_time |