Functions for sensitivity and power analysis, for calculating statistics describing pedigrees from wild populations, and for visualizing pedigrees.
This package is essentially a reboot of the now archived pedantics
package. We took the pedantics
package, removed the dependencies on archived packages (MasterBayes
), renamed some functions and removed 2 (fpederr()
and rpederr()
).
Changes from pedantics
see the News page of pedtricks website for the list of all the changes
speed
Code has been optimized to run faster (over 200 times faster on example pedigree for ped_stats
from >160s to <1s)
Defunct functions
-
rpederr()
andfpederr()
have been removed from the package.
The questions about rates of pedigree error typically encountered, and their effects on inference of elementary QG parameters are basically settled (Charmantier & Réale 2005, Morrissey et al. 2007, Firth et al. 2015, Bourret & Garant 2017), and outstanding questions will not plausibly be supported by these functions or any straightforward modifications thereof.
functions structure changes
-
pedigreeStats()
andpedStatSummary()
have been replaced byped_stats()
with asummary()
andplot()
methods to simplify the workflow and allow to get the plots without running the statistics each time -
makePedigreeFactor()
andmakePedigreeNumeric()
have been combined inconvert_ped()
which convert a pedigree to numeric or factor
functions renamed
-
fixPedigree()
is nowfix_ped()
-
genomesim()
,microsim()
andphensim()
have been renamed asgenome_sim()
,micro_sim()
andphen_sim()
References
Bourret, A., and D. Garant. 2017. An assessment of the reliability of quantitative genetics estimates in study systems with high rate of extra pair paternity and low recruitment. Heredity 118: 229-38.
Charmantier, A., and D. Réale. 2005. How do misassigned paternities affect estimation of heritability in the wild? Molecular Ecology 14: 2839-50
Firth, J.A. J.D. Hadfield, A.W. Santure, J. Slate and B.C. Sheldon. 2015. The influence of non-random extra pair paternity on heritability estimates derived from wild pedigrees. Evolution 69: 1336-44.
Morrissey, M.B., A.J. Wilson, J.M. Pemberton, and M.M. Ferguson. 2007. A framework for power and sensitivity analysis for quantitative genetic studies of natural populations, and a case study in Soay sheep (Ovis aries). Journal of Evolutionary Biology 20: 2309-21.