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.
| Version: | 0.7.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | data.table (≥ 1.14.0), igraph (≥ 1.3.0), nadiv (≥ 2.18.0) |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown, devtools |
| Published: | 2026-01-21 |
| DOI: | 10.32614/CRAN.package.visPedigree (may not be active yet) |
| Author: | Sheng Luan [aut, cre] |
| Maintainer: | Sheng Luan <luansheng at gmail.com> |
| BugReports: | https://github.com/luansheng/visPedigree/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/luansheng/visPedigree, https://luansheng.github.io/visPedigree/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | visPedigree results |
| Reference manual: | visPedigree.html , visPedigree.pdf |
| Vignettes: |
2. How to draw a pedigree (source, R code) 1. How to tidy a pedigree (source, R code) |
| Package source: | visPedigree_0.7.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): visPedigree_0.7.1.tgz, r-oldrel (x86_64): visPedigree_0.7.1.tgz |
| Reverse suggests: | MoBPS |
Please use the canonical form https://CRAN.R-project.org/package=visPedigree to link to this page.