genoDist: Calculates the hamming distance between alleles

Description Usage Arguments Details Value

Description

Used in the calculation of diversity statistics

Usage

1
genoDist(genoMat, pairwiseDeletion)

Arguments

genoMat

A matrix
Allele genotypes for each individual

pairwiseDeletion

logical If TRUE missing data will be removed from distance calculations in a paiwise manner.

Details

Authours: Chris Ward Calculates the hamming distance using matrix multiplication

Value

A matrix of hamming distance between individuals


CMWbio/geaR documentation built on June 21, 2019, 10:48 a.m.