karyogram2 | R Documentation |
Functions for visualising IBD segments in karyograms. The karyogram1()
and
karyogram2()
functions produces karyograms illustrating the output of
ibdsim()
for one or two specified individuals. The actual plotting is done
by functions karyoHaploid()
and karyoDiploid()
.
karyogram2(sim, ids = NULL, verbose = TRUE, ...)
sim |
A |
ids |
A vector of one or two ID labels. |
verbose |
A logical. |
... |
Further arguments passed on to |
A plot object returned invisibly.
x = quadHalfFirstCousins()
s = ibdsim(x, seed = 1729)
# karyogram2(s, ids = leaves(x), title = "QHFC")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.