gl.kosman | R Documentation |
This script calculates an individual based distance matrix.
gl.kosman(x, verbose = NULL)
x |
genlight/dartR object with a unique ploidy |
verbose |
verbosity of the function. |
returns a matrix of [dimensions nInd(x) x nInd(x)] of kosman distances between individuals,
#use only five individuals and seven loci
gg <- gl.kosman(possums.gl[1:5,14:21])
gg$kosman
gg$nloci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.