Package: visPedigree 1.8.1

Sheng Luan

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.

Authors:Sheng Luan [aut, cre]

visPedigree_1.8.1.tar.gz
visPedigree_1.8.1.tar.gz(r-4.7-arm64)visPedigree_1.8.1.tar.gz(r-4.7-x86_64)visPedigree_1.8.1.tar.gz(r-4.6-arm64)visPedigree_1.8.1.tar.gz(r-4.6-x86_64)
visPedigree_1.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
visPedigree/json (API)
NEWS

# Install 'visPedigree' in R:
install.packages('visPedigree', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/luansheng/vispedigree/issues

Pkgdown/docs site:https://luansheng.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

openblascppopenmp

4.61 score 1 stars 45 scripts 549 downloads 26 exports 14 dependencies

Last updated from:9965ce3bd9. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK172
linux-devel-x86_64OK178
source / vignettesOK281
linux-release-arm64OK171
linux-release-x86_64OK175
wasm-releaseOK128

Exports:as_tidypedexpand_pedmathas_candidateshas_inbreedinginbreedis_tidypedpedancestrypedcontribpedecgpedfclasspedgenintpedhalflifepedivpedmatpedmetapednepedpartialpedrelpedstatspedsubpopquery_relationshipsplitpedsummary_pedmattidypedvismatvisped

Dependencies:clicpp11data.tableglueigraphlatticelifecyclemagrittrMatrixpkgconfigRcppRcppArmadillorlangvctrs

How to tidy a pedigree

Rendered fromtidy-pedigree.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-03-30
Started: 2026-01-21

Efficient visPedigree Workflows

Rendered fromefficient-visPedigree-workflows.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-03-30
Started: 2026-03-30

How to draw a pedigree

Rendered fromdraw-pedigree.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-03-30
Started: 2026-01-21

Pedigree Analysis and Population Genetics

Rendered frompedigree-analysis.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-03-30
Started: 2026-03-30

Calculation and visualization of relationship matrix

Rendered fromrelationship-matrix.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-03-30
Started: 2026-02-23

tidyped Class Structure and Extension Notes

Rendered fromtidyped-structure.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-03-30
Started: 2026-03-30

Readme and manuals

Help Manual

Help pageTopics
Subset a tidyped object[.tidyped
Restore the tidyped class to a manipulated pedigreeas_tidyped
A large pedigree with big family sizesbig_family_size_ped
A complex pedigreecomplex_ped
A deep pedigreedeep_ped
Expand a Compact Pedigree Matrix to Full Dimensionsexpand_pedmat
A pedigree with half foundershalf_founder_ped
Check whether a tidyped object contains candidate flagshas_candidates
Check whether a tidyped object contains inbreeding coefficientshas_inbreeding
A highly inbred pedigreeinbred_ped
Calculate inbreeding coefficientsinbreed
Test if an object is a tidypedis_tidyped
A pedigree with loopsloop_ped
Calculate Ancestry Proportionspedancestry
Calculate Founder and Ancestor Contributionspedcontrib
Calculate Equi-Generate Coefficientpedecg
Summarize Inbreeding Levelspedfclass
Calculate Generation Intervalspedgenint
Calculate Information-Theoretic Diversity Half-Lifepedhalflife plot.pedhalflife print.pedhalflife
Calculate Genetic Diversity Indicatorspediv
Genetic Relationship Matrices and Inbreeding Coefficientspedmat
Access pedigree metadata from a tidyped objectpedmeta
Calculate Effective Population Sizepedne
Calculate Partial Inbreedingpedpartial
Calculate Mean Relationship or Coancestry Within Groupspedrel
Pedigree Statisticspedstats
Pedigree Subpopulationspedsubpop
Plot a tidy pedigreeplot.tidyped
Print Founder and Ancestor Contributionsprint.pedcontrib
Print Genetic Diversity Summaryprint.pediv
Print Pedigree Statisticsprint.pedstats
Print method for summary.tidypedprint.summary.tidyped
Print method for tidyped pedigreeprint.tidyped
Query Relationship Coefficients from a Pedigree Matrixquery_relationship
A simple pedigreesimple_ped
A small pedigreesmall_ped
Split Pedigree into Disconnected Groupssplitped
Summary Statistics for Pedigree Matricessummary_pedmat
Summary method for tidyped objectssummary.tidyped
Tidy and prepare a pedigreetidyped
Visualize Relationship Matricesvismat
Visualize a tidy pedigreevisped