Learn R Programming

dartR.spatial (version 0.78)

Applying Landscape Genomic Methods on 'SNP' and 'Silicodart' Data

Description

Provides landscape genomic functions to analyse 'SNP' (single nuclear polymorphism) data, such as least cost path analysis and isolation by distance. Therefore each sample needs to have coordinate data attached (lat/lon) to be able to run most of the functions. 'dartR.spatial' is a package that belongs to the 'dartRverse' suit of packages and depends on 'dartR.base' and 'dartR.data'.

Copy Link

Version

Install

install.packages('dartR.spatial')

Monthly Downloads

613

Version

0.78

License

GPL (>= 3)

Maintainer

Bernd Gruber

Last Published

November 15th, 2023

Functions in dartR.spatial (0.78)

gl.grm2

Calculates an identity by descent matrix
zzz

Setting up the package dartR.spatial
gl.costdistances

Calculates cost distances for a given landscape (resistance matrix)
gl2shp

Converts a genlight object to ESRI shapefiles or kml files
gl.spatial.autoCorr

Spatial autocorrelation following Smouse and Peakall 1999
gl.kosman

Calculates a Kosman distance matrix for each pair of individuals
utils.spautocor

Spatial autocorrelation coefficient calculations
gl.ibd

Performs isolation by distance analysis
gl.genleastcost

Performs least-cost path analysis based on a friction matrix