Th main focus of this version is an overhaul of the IBD triangle plots, and implementing such plots also in ggplot2
and plotly
.
New features
-
ibdTriangle()
andshowInTriangle()
gain an argumentplotType
, with permitted values "base" (default), "ggplot2" and "plotly". -
ibdTriangle()
now supports graphic parameterslas
,mar
andtitle
. (These work for base plots and alsoggplot2
.) -
showInTriangle()
has a new argumentped
, for adding an inset pedigree in the top right corner. -
Improved handling of labels in
showInTriangle()
. -
New dataset
basicRelationships
, which is called byibdTriangle()
. -
In
kinship(x, ids)
,ids
is no longer restricted to length 2. -
Improve documentation of
kappaIBD()
.
Bug fixes
kinship(x)
now catches duplicated ID labels across components whenx
is a pedlist.