Tidying and Visualizing Animal Pedigrees
Apply node styles (color, shape, highlighting)
Compact pedigree by merging full siblings
Finalize graph and reindex IDs
Generate edges and virtual family nodes
Styling and finalizing pedigree graph
Calculate inbreeding coefficients
Inject missing parents for subsetted pedigrees
Internal constructor for tidyped class
Convert pedigree to igraph structure
Render pedigree graph using Two-Pass strategy
Plot a tidy pedigree
Prepare initial node table for igraph conversion
Internal layout engine for pedigree visualization
Print method for summary.tidyped
Print method for tidyped pedigree
Repel overlapping nodes on the x-axis
Summary method for tidyped objects
Tidy and prepare a pedigree using graph theory
Internal validator for tidyped class
Visualize a tidy pedigree
Built on graph theory and the high-performance 'data.table' framework, this package provides a comprehensive suite of tools for tidying, pruning, and visualizing animal pedigrees. By modeling pedigrees as directed acyclic graphs using 'igraph', it ensures robust loop detection, efficient generation assignment, and sophisticated hierarchical layouts. Key features include standardizing pedigree formats, flexible ancestry tracing, and generating legible vector-based PDF graphs. A unique compaction algorithm enables the visualization of massive pedigrees (e.g., in aquaculture selective breeding population) by grouping full-sib families, maintaining structural clarity without overcrowding.
Useful links