Description Usage Arguments Value Author(s) See Also Examples
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.
1 | 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
1 2 3 | data(testdata)
ibs <- ibsCount(Xchromosome)
distance <- ibsDist(ibs)
|
Loading required package: survival
Loading required package: Matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.