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.5-x86_64)discent_0.5.0.tgz(r-4.5-arm64)discent_0.5.0.tgz(r-4.4-x86_64)discent_0.5.0.tgz(r-4.4-arm64)discent_0.5.0.tgz(r-4.3-x86_64)discent_0.5.0.tgz(r-4.3-arm64)
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'))

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

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

On CRAN:

Conda:

gradient-descentidentity-by-descentspatialcpp

3.78 score 1 stars 8 scripts 4 exports 23 dependencies

Last updated 12 days agofrom:3d6759c001. Checks:1 OK, 11 NOTE. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 19 2025
R-4.5-win-x86_64NOTEMar 19 2025
R-4.5-mac-x86_64NOTEMar 19 2025
R-4.5-mac-aarch64NOTEMar 19 2025
R-4.5-linux-x86_64NOTEMar 19 2025
R-4.4-win-x86_64NOTEMar 19 2025
R-4.4-mac-x86_64NOTEMar 19 2025
R-4.4-mac-aarch64NOTEMar 19 2025
R-4.4-linux-x86_64NOTEMar 19 2025
R-4.3-win-x86_64NOTEMar 19 2025
R-4.3-mac-x86_64NOTEMar 19 2025
R-4.3-mac-aarch64NOTEMar 19 2025

Exports:%>%discis.DISCresulttidyout

Dependencies:clicpp11crayondplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Installing discent

Rendered frominstallation.Rmdusingknitr::rmarkdownon Mar 19 2025.

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

Running the Basic Model

Rendered fromrunvanillamod.Rmdusingknitr::rmarkdownon Mar 19 2025.

Last update: 2025-02-08
Started: 2024-08-28