visPedigree
1.9.0Tidying, Analysis, and Fast Visualization of Animal and Plant Pedigrees
Overview
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. Matrix-free pedigree traversals apply additive relationship matrices or their inverses to vectors and matrices without materializing dense square matrices. 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.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-06-0812 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-06-0712 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2211 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
- ERROR2026-04-1810 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 61%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 9%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/luansheng/vispedigree on 2026-07-19.
Show all practices
Dependencies
Code & Tests
- Cyclomatic complexity
- 5.0 median / 86 max
- Test cases
- 251 / 0.50 per code line
Test coverage
Line coverage
84%
Expression
83.1%
Tests / Examples
83.8% / 44% ex
Functions
161 27 exported
Complexity
8.9 avg / 86 max
Call network
161 nodes / 181 edges
Call graph
Open call graph →Lowest coverage
161 functions| Function | Cyclo | Coverage |
|---|---|---|
| as.vector.pedmat | 1 | 0% |
| plot.tidyped | 1 | 0% |
| print.pedcontrib | 7 | 0% |
| print.pedstats | 3 | 0% |
| print.summary.tidyped | 31 | 0% |
| summary.pedmat | 1 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| half_founder_ped | data.frame | 600 × 4 | – |
| small_ped | data.frame | 19 × 3 | – |
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2026-01-21
- Total releases
- 4 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 500 KB / 8 files
- Download size
- 4.7 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet