landgraph: Graphs and Covariance for Landscape Genetics

Shared, dependency-light primitives for landscape-genetic network methods: a lightweight deme/landscape graph (vertex coordinates and an undirected edge list) with constructors from coordinates; genetic covariance and distance from biallelic or multiallelic data (the normalized-dosage covariance of Yang et al. (2010) <doi:10.1038/ng.608>, and the multivariate covariance of Dyer and Nason (2004) <doi:10.1111/j.1365-294X.2004.02177.x> built by the Gower (1966) <doi:10.1093/biomet/53.3-4.325> double-centering); pairwise F_ST by the estimator of Bhatia et al. (2013) <doi:10.1101/gr.154831.113>; and antisymmetric per-edge directional covariate builders (the gradient of a scalar potential, and the projection of a vector flow field). Used by 'terradish' (symmetric resistance).

Version: 0.0.4
Depends: R (≥ 4.0.0)
Imports: stats
Suggests: terra, deldir, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-10-30
DOI: 10.32614/CRAN.package.landgraph
Author: Bill Peterman [aut, cre, cph], Nathaniel S. Pope [aut, cph]
Maintainer: Bill Peterman <peterman.73 at osu.edu>
BugReports: https://github.com/wpeterman/landgraph/issues
License: BSD_3_clause + file LICENSE
URL: https://github.com/wpeterman/landgraph
NeedsCompilation: no
Citation: landgraph citation info
Materials: NEWS
CRAN checks: landgraph results

Documentation:

Reference manual: landgraph.html , landgraph.pdf
Vignettes: Getting Started with landgraph (source, R code)

Downloads:

Package source: landgraph_0.0.4.tar.gz
Windows binaries: r-devel: landgraph_0.0.3.zip, r-release: landgraph_0.0.3.zip, r-oldrel: landgraph_0.0.4.zip
macOS binaries: r-release (arm64): landgraph_0.0.4.tgz, r-oldrel (arm64): landgraph_0.0.4.tgz, r-release (x86_64): landgraph_0.0.4.tgz, r-oldrel (x86_64): landgraph_0.0.4.tgz
Old sources: landgraph archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=landgraph to link to this page.