Crandore Hub

graph4lg

Build Graphs for Landscape Genetics Analysis

Build graphs for landscape genetics analysis. This set of functions can be used to import and convert spatial and genetic data initially in different formats, import landscape graphs created with 'GRAPHAB' software (Foltete et al., 2012) <doi:10.1016/j.envsoft.2012.07.002>, make diagnosis plots of isolation by distance relationships in order to choose how to build genetic graphs, create graphs with a large range of pruning methods, weight their links with several genetic distances, plot and analyse graphs, compare them with other graphs. It uses functions from other packages such as 'adegenet' (Jombart, 2008) <doi:10.1093/bioinformatics/btn129> and 'igraph' (Csardi et Nepusz, 2006) <https://igraph.org/>. It also implements methods commonly used in landscape genetics to create graphs, described by Dyer et Nason (2004) <doi:10.1111/j.1365-294X.2004.02177.x> and Greenbaum et Fefferman (2017) <doi:10.1111/mec.14059>, and to analyse distance data (van Strien et al., 2015) <doi:10.1038/hdy.2014.62>.

Versions across snapshots

VersionRepositoryFileSize
1.8.0 rolling source/ R- graph4lg_1.8.0.tar.gz 1.7 MiB
1.8.0 rolling linux/jammy R-4.5 graph4lg_1.8.0.tar.gz 2.1 MiB
1.8.0 rolling linux/noble R-4.5 graph4lg_1.8.0.tar.gz 2.0 MiB
1.8.0 latest source/ R- graph4lg_1.8.0.tar.gz 1.7 MiB
1.8.0 latest linux/jammy R-4.5 graph4lg_1.8.0.tar.gz 2.1 MiB
1.8.0 latest linux/noble R-4.5 graph4lg_1.8.0.tar.gz 2.0 MiB
1.8.0 2026-04-23 source/ R- graph4lg_1.8.0.tar.gz 1.7 MiB
1.8.0 2026-04-09 windows/windows R-4.5 graph4lg_1.8.0.zip 2.1 MiB
1.8.0 2025-04-20 source/ R- graph4lg_1.8.0.tar.gz 1.7 MiB

Dependencies (latest)

Imports

Suggests