pedtools 2.10.0
-
New function
addSibling()for adding a sibling to an existing pedigree member. -
New function
isHomozygous()for finding and counting homozygous genotypes in the marker data. -
New function
sameGenotype()for finding and counting markers for which two individuals have the same genotype. -
New functions
expectedHomozygosity()andexpectedHeterozygosity()for computing these quantities from allele frequencies (or marker objects). -
Extracting sub-pedigrees with
subset()is now more flexible, allowing disconnected outputs. It also has a new argumentmissingParentscontrolling how to handle parents that are not included in the subset. -
The
branch()behaves more intuitively thanks to the improvedsubset.ped(). -
alleles(x, marker)now accepts multiple markers at once, returning a list of character vectors.
Other
father(x, id)andmother(x, id)now outputNAwhenidis a founder inx. (Previously this gavecharacter(0).)