Visualize, Summarize and Simulate Data from Pedigrees
Overview
Sensitivity and power analysis, for calculating statistics describing pedigrees from wild populations, and for visualizing pedigrees. This is a reboot of the methods developed by Morrissey and Wilson (2010) <doi: 10.1111/j.1755-0998.2009.02817.x>.
ped_stats- Added more relationships; cousins and aunts/uncles, returned in
cousinNumsandauNumsslots inped_statsobject - Removed relatedness categories (
cumulativeRelatednessandrelatednessCategoriesfrom output - Instead now directly outputs mean and variances of relatedness, and proportion >= 0.125, 0.25 and 0.5, which are returned in
relatednessDistributionslot inped_statsobject summary.ped_stats- New relationships in
ped_statsfunction not output fromsummary.ped_statsby default. Useextended=TRUEfor them to be included in the output plot.ped_stats- plotting relatedness distribution now slightly different, due to removing
relatednessCategoriesfromped_statsobject. Will plot if A matrix is present onped_statsobject h2_samp_var- Added new function to calculate expected sampling variance for $h^2$ from Visscher and Goddard 2016
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 18 (4 internal)includes a package overview page
- Examples that run
- 82%9 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 92%
- Documented parameters
- 92%
- Return-value docs
- 100%
- Help pages citing references
- 6%
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/juliengamartin/pedtricks on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-03-01 · The repository has a site deploy workflow
pkgdown site last built 2026-03-01
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.5.0Latest
- RR 4.5.0 released · 2025-04-11
- 0.4.22024-09-09
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-09-09
- Total releases
- 2 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0
- Bundled data
- 36 KB / 2 files
- Download size
- 84 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pedtricks")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.