New function ibdDraw()
for illustrating IBD patterns in a pedigree. IBD alleles are represented as coloured dots or as letters.
New function ibdTriangle()
, which replaces forrel::IBDtriangle()
constructPedigree()
now gives a textual description of the (usually double-half-cousin-like) pedigree it produces.
New function constructPedigree()
, which constructs a pedigree yielding a prescribed set of IBD coefficients. This implements the algorithm described in https://doi.org/10.1007/s00285-020-01505-x.
kinship()
gains a new argument ids
, which is handy when you only want the kinship coefficient between two individuals (and not the whole kinship matrix)
Similarly, inbreeding()
gains the argument id
for computing the inbreeding coefficient of a single individual.