Package: discent 0.5.0

Nick Brazeau

discent: Estimation of Deme Inbreeding Spatial Coefficients with Gradient Descent

In the early 1970s, Malécot described the relationship between genetic relatedness and physical distance, forming the framework of isolation by distance, or -- put simply -- pairs that are far apart are less likely to mate. Capitalizing on this framework by using measures of Identity by Descent, we produce a deme inbreeding spatial coefficient (DISC) using "vanilla" gradient descent. For the mathematical formulation of the of DISC, see: <TODO>. Briefly, we assume that the relatedness between two locations (demes) in space is given by the average pairwise IBD between the two locations conditional on the distance that seperates them. Further, we assume that geographic distance is scaled by a migration rate, which is a global parameter among all spatial locations.

Authors:Nick Brazeau [aut, cre], Bob Verity [aut]

discent_0.5.0.tar.gz
discent_0.5.0.zip(r-4.5)discent_0.5.0.zip(r-4.4)discent_0.5.0.zip(r-4.3)
discent_0.5.0.tgz(r-4.4-arm64)discent_0.5.0.tgz(r-4.4-x86_64)discent_0.5.0.tgz(r-4.3-arm64)discent_0.5.0.tgz(r-4.3-x86_64)
discent_0.5.0.tar.gz(r-4.5-noble)discent_0.5.0.tar.gz(r-4.4-noble)
discent_0.5.0.tgz(r-4.4-emscripten)discent_0.5.0.tgz(r-4.3-emscripten)
discent.pdf |discent.html
discent/json (API)
NEWS

# Install discent in R:
install.packages('discent', repos = c('https://plasmogenepi.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/nickbrazeau/discent/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

gradient-descentidentity-by-descentspatial

4 exports 1 stars 0.23 score 23 dependencies

Last updated 7 months agofrom:7f96210377482aa708033dfa4cf474aba38458d0

Exports:%>%deme_inbreeding_spcoefis.DISCresulttidyout

Dependencies:clicpp11crayondplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Installing discent

Rendered frominstallation.Rmdusingknitr::rmarkdownon Jun 16 2024.

Last update: 2021-01-20
Started: 2021-01-20

Running the Model

Rendered fromrunmod.Rmdusingknitr::rmarkdownon Jun 16 2024.

Last update: 2022-08-14
Started: 2020-12-06