Converts a vcfR object to a matrix of pairwise genetic distances.
gen2dist(vcf, biallelic = FALSE)object of class data.frame.
logical describing whether the data is biallelic or not (default).
gen2dist(x) returns an object of class distancecontaining a matrix of pairwise genetic distances.