Distance matrix based on identity by state (IBS)
Expresses a matrix of IBS counts (see ibsCount
) as a
distance matrix. The distance between two samples is returned as the
proportion of allele comparisons which are not IBS.
ibsDist(counts)
counts |
A matrix of IBS counts as produced by the function
|
An object of class "dist"
(see dist
)
David Clayton dc208@cam.ac.uk
data(testdata) ibs <- ibsCount(Xchromosome) distance <- ibsDist(ibs)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.