Mcfly

Simulation framework to estimate the influence of niche adaptation rate and dispersal limitation on species diversity distribution across environmental gradients

By Gabriel Nakamura, Leandro Duarte and Vanderlei Debastiani in R package

January 7, 2021

mcfly

CRAN\_Status\_Badge

license

mcfly - Simulation framework to estimate the influence of niche adaptation rate and dispersal limitation on species diversity distribution across environmental gradients

Description

We introduce mcfly, an R package to estimate the influence of niche adaptation rate and dispersal limitation on species diversity distribution of a given phylogenetic lineage across environmental gradients. For this, mcfly adopts the individual-based metacommunity simulation framework algorithm implemented in the package MCSim (See MCSim package for more information on individual based model) coupled to Approximate Bayesian Computation (ABC) to estimate the posterior distribution of (i) the adaptation rate parameter of Ornstein-Uhlenbeck (OU) evolutionary model and (ii) the slope the dispersal kernel, i.e, the probability density function of the dispersal success from a source to a sink assemblage)that maximizes the association between species diversity across a set of sites and a given environmental gradient.

Installation

To install mcfly package use:

devtools::install_github("GabrielNakamura/mcfly", force = T, build_vignettes = T)

To run the vignette:

vignette("McFly_vignette")

Important: after installation, relaunch R

Posted on:
January 7, 2021
Length:
1 minute read, 162 words
Categories:
R package
Tags:
Numerical methods
See Also: