visPedigree: Tidying, Analysis, and Fast Visualization of Animal and Plant Pedigrees

Provides tools for the analysis and visualization of animal and plant pedigrees. Analytical methods include equivalent complete generations, generation intervals, effective population size (via inbreeding, coancestry, and demographic approaches), founder and ancestor contributions, partial inbreeding, genetic diversity indices, and additive (A), dominance (D), and epistatic (AA) relationship matrices. Core algorithms — ancestry tracing, topological sorting, inbreeding coefficients, and matrix construction — are implemented in C++ ('Rcpp', 'RcppArmadillo') and 'data.table', scaling to pedigrees with over one million individuals. Pedigree graphs are rendered via 'igraph' with support for compact full-sib family display; relationship matrices can be visualized as heatmaps. Supports complex mating systems, including selfing and pedigrees in which the same individual can appear as both sire and dam.

Version: 1.8.1
Depends: R (≥ 4.1.0)
Imports: data.table (≥ 1.14.0), igraph (≥ 1.3.0), Matrix, methods, Rcpp, lattice
LinkingTo: Rcpp, RcppArmadillo
Suggests: nadiv (≥ 2.18.0), testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-03-30
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: GPL-3
URL: https://github.com/luansheng/visPedigree, https://luansheng.github.io/visPedigree/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: visPedigree results

Documentation:

Reference manual: visPedigree.html , visPedigree.pdf
Vignettes: 3. How to draw a pedigree (source, R code)
2. Efficient visPedigree Workflows (source, R code)
4. Pedigree Analysis and Population Genetics (source, R code)
5. Calculation and visualization of relationship matrix (source, R code)
1. How to tidy a pedigree (source, R code)
6. tidyped Class Structure and Extension Notes (source)

Downloads:

Package source: visPedigree_1.8.1.tar.gz
Windows binaries: r-devel: visPedigree_1.0.1.zip, r-release: visPedigree_1.0.1.zip, r-oldrel: visPedigree_1.0.1.zip
macOS binaries: r-release (arm64): visPedigree_1.8.1.tgz, r-oldrel (arm64): visPedigree_1.0.1.tgz, r-release (x86_64): visPedigree_1.8.1.tgz, r-oldrel (x86_64): visPedigree_1.8.1.tgz
Old sources: visPedigree archive

Reverse dependencies:

Reverse suggests: MoBPS

Linking:

Please use the canonical form https://CRAN.R-project.org/package=visPedigree to link to this page.