Built on graph theory and the high-performance 'data.table' framework, this package provides a comprehensive suite of tools for tidying, analyzing, and visualizing animal pedigrees. By modeling pedigrees as directed acyclic graphs using 'igraph', it ensures robust loop detection, efficient generation assignment, and optimal sub-population splitting. 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 by grouping full-sib families. Furthermore, the package implements high-performance C++ algorithms for calculating and visualizing genetic relationship matrices (A, D, AA, and their inverses) and inbreeding coefficients.
| Version: | 1.0.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | data.table (≥ 1.14.0), igraph (≥ 1.3.0), Matrix, Rcpp, lattice |
| LinkingTo: | Rcpp, RcppArmadillo |
| Suggests: | nadiv (≥ 2.18.0), testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-02-23 |
| DOI: | 10.32614/CRAN.package.visPedigree |
| 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: | yes |
| Materials: | README, NEWS |
| CRAN checks: | visPedigree results |
| Reference manual: | visPedigree.html , visPedigree.pdf |
| Vignettes: |
2. How to draw a pedigree (source, R code) 3. Calculation and visualization of relationship matrix (source, R code) 1. How to tidy a pedigree (source, R code) |
| Package source: | visPedigree_1.0.1.tar.gz |
| Windows binaries: | r-devel: visPedigree_0.7.1.zip, r-release: visPedigree_0.7.1.zip, r-oldrel: visPedigree_0.7.1.zip |
| macOS binaries: | r-release (arm64): visPedigree_0.7.1.tgz, r-oldrel (arm64): visPedigree_0.7.1.tgz, r-release (x86_64): visPedigree_0.7.1.tgz, r-oldrel (x86_64): visPedigree_0.7.1.tgz |
| Old sources: | visPedigree archive |
| Reverse suggests: | MoBPS |
Please use the canonical form https://CRAN.R-project.org/package=visPedigree to link to this page.