Bruvo.distance(genotype1, genotype2, maxl=9, usatnt=2, missing=-9)NA is returned instead of a
    numerical distance.usatnt=2 for dinucleotide repeats, and usatnt=3
    for trinucleotide repeats.  If the alleles in genotype1
    and genotype2 are expressed in repeNA is returned if this
    value is found in either genotype.genotype1 differed by an infinite number of repeats from all
    alleles in genotype2.  NA is returned if both genotypes have
    more than maxl alleles or if either genotype has the symbol for
    missing data as its first allele.Bruvo.distance only implements the simplest one, assuming that it is
  not known whether differences in ploidy arose from genome addition or
  genome loss.  Virtual alleles are set to infinity, such that the
  geometric distance between any allele and a virtual allele is 1.distance.matrix.1locus,
  meandistance.matrix, Lynch.distanceBruvo.distance(c(202,206,210,220),c(204,206,216,222))
  Bruvo.distance(c(202,206,210,220),c(204,206,216,222),usatnt=4)
  Bruvo.distance(c(202,206,210,220),c(204,206,222))
  Bruvo.distance(c(202,206,210,220),c(204,206,216,222),maxl=3)
  Bruvo.distance(c(202,206,210,220),c(-9))Run the code above in your browser using DataLab