ribd
Pedigree-based Relatedness Coefficients
The pedsuite's coefficient engine: broadening what it computes, then making the plots publishable.
◆Recent moves
- 12d ago
Custom relationships on the IBD triangle; six alignment and edge-case fixes
Feature work is modest, with custom relationships in ibdTriangle() and two new internal decomposition functions, but the fix list is the substance: pair ordering in identityCoefs(), row alignment in coeffTable() both alone and when combining coefficient types, and edge cases in kappaIBD(), twoLocusKinship() and twoLocusIdentity(). Misaligned rows in a coefficient table are the kind of defect that produces confidently wrong answers, so this is consolidation work on the package's core output.
View source ↗ - 1y ago
kappaIBD() can skip across-component pairs on large pedigrees
The acrossComps argument restricts computation to individuals in the same connected component, which the notes point at large pedigrees specifically, so this is a scale accommodation rather than a new coefficient. The plotly triangle keeps getting tweaked, continuing the presentation thread opened in 1.7.0.
View source ↗ - 2y ago
IBD triangle plots gain ggplot2 and plotly backends, plus inset pedigrees
A plotType argument opens the package's signature plot to ggplot2 and plotly alongside base graphics, and showInTriangle() can inset the pedigree being described. New rendering backends for an existing plot rather than a new analysis, but for a package whose output is largely read visually it decides whether results land in a paper or a dashboard.
View source ↗ - 3y ago
Triangle line clipping, automatic plot margins, citation info
Small plotting refinements and two fixes, one of them kappaIBD() misbehaving on ped lists with a two-element ids vector. The kind of release that tidies edges rather than moving anything.
View source ↗ - 3y ago
Two-locus functions overhauled; twoLocusInbreeding and ELR added
The two-locus family is cleaned up and extended with twoLocusInbreeding(), realisedIbdVariance() and ELR(), the last implementing a published method from Egeland and Slooten. Column renames in coeffTable() make this breaking, and the same table's alignment is still being fixed four releases later.
View source ↗ - 4y ago
Identity coefficients unified behind identityCoefs() and an Xchrom argument
The consolidation release: separate X-chromosomal functions are replaced by an Xchrom argument, generalisedKinship() gives way to the more general gKinship(), and identityCoefs() supersedes the condensed-identity pair while covering both autosomal and X cases. idcoefs() is removed outright because the package it depended on is no longer available, which is the less comfortable half of the same tidy-up.
View source ↗