Package: ggpedigree 1.2.0.90

S. Mason Garrison

ggpedigree: Visualizing Pedigrees with 'ggplot2' and 'plotly'

Provides plotting functions for visualizing pedigrees and family trees. The package complements a behavior genetics package 'BGmisc' [Garrison et al. (2024) <doi:10.21105/joss.06203>] by rendering pedigrees using the 'ggplot2' framework. Features include support for duplicated individuals, complex mating structures, integration with simulated pedigrees, and layout customization. Due to the impending deprecation of kinship2, version 1.0 incorporates the layout helper functions from kinship2. The pedigree alignment algorithms are adapted from 'kinship2' [Sinnwell et al. (2014) <doi:10.1159/000363105>]. We gratefully acknowledge the original authors: Jason Sinnwell, Terry Therneau, Daniel Schaid, and Elizabeth Atkinson for their foundational work.

Authors:S. Mason Garrison [aut, cre, cph]

ggpedigree_1.2.0.90.tar.gz
ggpedigree_1.2.0.90.zip(r-4.7-any)ggpedigree_1.2.0.90.zip(r-4.6-any)ggpedigree_1.2.0.90.zip(r-4.5-any)
ggpedigree_1.2.0.90.tgz(r-4.6-any)ggpedigree_1.2.0.90.tgz(r-4.5-any)
ggpedigree_1.2.0.90.tar.gz(r-4.7-any)ggpedigree_1.2.0.90.tar.gz(r-4.6-any)
ggpedigree_1.2.0.90.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ggpedigree/json (API)

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

Bug tracker:https://github.com/r-computing-lab/ggpedigree/issues

Pkgdown/docs site:https://r-computing-lab.github.io

Datasets:

On CRAN:

Conda:

7.80 score 6 stars 83 scripts 402 downloads 15 exports 68 dependencies

Last updated from:1c636d9057. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK194
source / vignettesOK535
linux-releaseOK277
macos-releaseOK223
macos-oldrelOK189
windows-develOK235
windows-releaseOK212
windows-oldrelOK169
wasm-releaseOK141

Exports:calculateConnectionscalculateCoordinatescountOffspringcountSiblingsgenerateSpouseListgetDefaultPlotConfigggpedigreeggPedigreeggPedigreeInteractiveggPhenotypeByDegreeggRelatednessMatrixkinship2_plotPedigreepedigreeplotPedigreerenumberPedigreeIDs

Dependencies:askpassbase64encBGmiscbslibcachemclicpp11crosstalkcurldata.tabledigestdplyrevaluatefarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttrigraphisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMatrixmemoisemimeopensslotelpillarpkgconfigplotlypromisespurrrR6rappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesstringistringrsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml

Plotting pedigrees with ggPedigree()
Introduction | Basic usage | Customizing Aesthetics | Labeling Individuals | Overlaying Status Information | Highlighting Specific Individuals | Highlighting Harry Potter | Multiple families in one graphic | Adjusting Plot Appearance | Advanced Examples: Large Pedigrees with self-loops

Last update: 2026-06-12
Started: 2025-06-06

Interactive Pedigree Plotting with ggPedigreeInteractive
Introduction | Example data | Basic Usage

Last update: 2026-03-15
Started: 2026-01-04

Visualizing Relatedness Matrices with ggRelatednessMatrix()
Introduction | Data Preparation | Calculating Relatedness Matrices | Visualizing Relatedness Matrices | Plot Interactively | Customization Options | Comparison to Base R and Other Approaches | Conclusions

Last update: 2026-03-15
Started: 2026-01-04

Using config to control ggpedigree plots
Basic usage of config in ggPedigree() | Sex coding: code_male and code_female | Advanced Examples

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