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-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'))

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

3.65 score 1 stars 9 scripts 5 exports 23 dependencies

Last updated 1 months agofrom:26c528cbc3. Checks:OK: 1 NOTE: 8. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-win-x86_64NOTENov 10 2024
R-4.5-linux-x86_64NOTENov 10 2024
R-4.4-win-x86_64NOTENov 10 2024
R-4.4-mac-x86_64NOTENov 10 2024
R-4.4-mac-aarch64NOTENov 10 2024
R-4.3-win-x86_64NOTENov 10 2024
R-4.3-mac-x86_64NOTENov 10 2024
R-4.3-mac-aarch64NOTENov 10 2024

Exports:%>%deme_inbreeding_spcoef_psodeme_inbreeding_spcoef_vanillais.vanillaDISCresulttidyout

Dependencies:clicpp11crayondplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Installing discent

Rendered frominstallation.Rmdusingknitr::rmarkdownon Nov 10 2024.

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

Running the DISCent Model with Particle Swarm Optimizer Metaheuristic Search

Rendered frompsoextension.Rmdusingknitr::rmarkdownon Nov 10 2024.

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

Running the Basic Model

Rendered fromrunvanillamod.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2024-10-11
Started: 2024-08-28