powered by
This script calculates an individual based distance matrix.
gl.kosman(x, verbose = NULL)
returns a matrix of [dimensions nInd(x) x nInd(x)] of kosman distances between individuals,
genlight/dartR object with a unique ploidy
verbosity of the function.
#use only five individuals and seven loci gg <- gl.kosman(possums.gl[1:5,14:21]) gg$kosman gg$nloci
Run the code above in your browser using DataLab