Comparison Between Two Haplotypes
This function compares two haplotypes and returns a summary of the differences.
diffHaplo(h, a = 1, b = 2, strict = FALSE, trailingGapsAsN = TRUE)
| h | an object of class  | 
| a, b | two integers (or character strings) giving the indices (or labels) of the two haplotypes to be compared. | 
| strict | a logical value; if  | 
| trailingGapsAsN | a logical value; if  | 
The options strict and trailingGapsAsN are passed to
seg.sites.
a data frame with three columns named pos (position of the
differences) and the labels of the two haplotypes compared.
Emmanuel Paradis
data(woodmouse) h <- haplotype(woodmouse) diffHaplo(h) # compares the 1st and 2nd haplotypes diffHaplo(h, 1, 3) diffHaplo(h, "I", "III") # same than above but using labels
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.