karyogram2: Karyogram plots

View source: R/karyogram.R

karyogram2R Documentation

Karyogram plots

Description

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().

Usage

karyogram2(sim, ids = NULL, verbose = TRUE, ...)

Arguments

sim

A genomeSim object.

ids

A vector of one or two ID labels.

verbose

A logical.

...

Further arguments passed on to karyoHaploid().

Value

A plot object returned invisibly.

Examples


x = quadHalfFirstCousins()
s = ibdsim(x, seed = 1729)
# karyogram2(s, ids = leaves(x), title = "QHFC")



ibdsim2 documentation built on Aug. 17, 2023, 5:17 p.m.