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 Yang-style normalized-dosage covariance and the Dyer-style multivariate covariance); 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). No compiled code.

Package details

AuthorBill Peterman [aut, cre, cph], Nathaniel S. Pope [aut, cph]
MaintainerBill Peterman <peterman.73@osu.edu>
LicenseBSD_3_clause + file LICENSE
Version0.0.3
URL https://github.com/wpeterman/landgraph 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("landgraph")

Try the landgraph package in your browser

Any scripts or data that you put into this service are public.

landgraph documentation built on Sept. 26, 2026, 1:08 a.m.