Demerelate-package: Demerelate - Algorithms to estimate pairwise relatedness...

Description Details Author(s) References

Description

The package Demerelate provides several functions to calculate relatedness of individuals based on diploid genetic markers. Following indices can be calculated:

  1. B_{xy} (number of alleles shared) as described in Li and Horvitz 1953 (Bxy).

  2. S_{xy} (number of alleles shared) as described in Lynch 1988 (Sxy).

  3. M_{xy} (genotype sharing) as described in Blouin et al. 1996 (Mxy).

  4. Li is based on the equations from Li et al. 1993 (Li).

  5. The estimator r_{xy} based on Queller and Goodnight 1989 adapted to pairwise comparisons as described in Oliehoek et al. 2006 (rxy).

  6. l_{xy} is calculated based on Lynch and Ritland 1999 (lxy, lxy.w).

  7. The estimator loiselle is based on Loiselle et al. 1995 (loiselle).

  8. The estimator wang.fin is based on Wang 2002 for a finite sample (wang.fin, wang.fin.w).

  9. The estimator wang is based on Wang 2002 including bias correction for sample size (wang, wang.w).

  10. The estimator ritland is based on Ritland 1996 (ritland).

  11. The estimator morans.fin is based on Hardy and Vekemans 1999 ommiting correction for sample size (morans.fin).

  12. The estimator morans is based on Hardy and Vekemans 1999 with correction for sample size bias (morans.fin, morans.w).

Detailed information can be found in the references or the descriptions of either subfunction.

For each estimator populations of randomized offsprings and randomized non related individuals are created from a reference population. By default, all empirical data will be used as a reference; however, functions can be forced to use specific data as reference. Be careful when using several populations or specific references. All populations need to be free of any pronounced population structure. References must contain every allele of the tested populations! Any violation of this may lead to strange results or interruptions during calculations. Based on these reference populations all allele sharing indices and relatedness estimators can be analysed using a logistic regression model. Thresholds for individuals being full-siblings, half-siblings or non-related for each population are calculated. χ^2 statistics are used to calculate whether populations contain more siblings than expected in randomly drawn populations of the same size as the empirical population. Additionally, for different sets of references (full siblings, half siblings and non-related) in comparison to all empirical populations pairwise T-tests are used to calculate whether populations are significantly different in mean relatedness. These results may be biased if the statistical conditions for performing a T-test are not given in the data. You should take care of that before drawing conclusions from these results. Therefore pairwise relatedness for empirical populations as well as randomized populations are passed to the local directory and can be used for downstream analyses. Several plots from each analysis can be exported as .pdf files for visualization of relatedness within populations. For every population geographical locations can be combined with genetic data to find out whether geographic distance has an effect on relatedness. A mantel correlation (Oksanen et al. 2013) plotted via scatterplot including relatedness thresholds from logistic regression are plotted for visualization.

Additionally, basic information on datasets can be calculated, for example allele and genotype frequencies, F_{is} values within populations or analysis on relative informativity of loci for relatedness analysis. For a quick overview, while omitting statistics, all allele sharing indices and relatedness estimators are calculated for every pairwise combination in one analysis.

Details

Package: Demerelate
Version: 0.9-3
Date: 2017-03-02
Depends: R (>= 2.15.0), Formula
Imports: fts, mlogit, sfsmisc, vegan
Suggests: MASS
License: GPL (>= 2)
URL: http://www.r-project.org
Demerelate -- Head function to calculate pairwise relatedness
Loci.test -- Function to analyse datasets of diploid genetic information
Emp.calc -- A quick overview of relatedness by omitting statistics
F.stat -- Function to calculate F_{is} values for single populations
demerelpop -- Example data set from randomized diploid markers for three populations
demerelref -- Example data set from randomized diploid markers as reference
demereldist -- Example data set from randomized relative geographic information

Author(s)

Philipp Kraemer and Gabriele Gerlach

Maintainer: Philipp Kraemer, <philipp.kraemer@uni-oldenburg.de>

References

Armstrong, W. (2012) fts: R interface to tslib (a time series library in c++). by R package version 0.7.7.
Blouin, M., Parsons, M., Lacaille, V. and Lotz, S. (1996) Use of microsatellite loci to classify indi- viduals by relatedness. Molecular Ecology, 5, 393-401.
Croissant, Y. 2011 mlogit: multinomial logit model. R package version 0.2-2.
Hardy, O.J. and Vekemans, X. (1999) Isolation by distance in a contiuous population: reconciliation between spatial autocorrelation analysis and population genetics models. Heredity, 83, 145-154.
Li, C.C., Weeks, D.E. and Chakravarti, A. (1993) Similarity of DNA fingerprints due to chance and relatedness. Human Heredity, 43, 45-52.
Li, C.C. and Horvitz, D.G. (1953) Some methods of estimating the inbreeding coefficient. Ameri- can Journal of Human Genetics, 5, 107-17.
Loiselle, B.A., Sork, V.L., Nason, J. and Graham, C. (1995) Spatial genetic structure of a tropical understory shrub, Psychotria officinalis (Rubiaceae). American Journal of Botany, 82, 1420-1425.
Lynch, M. (1988) Estimation of relatedness by DNA fingerprinting. Molecular Biology and Evolu- tion, 5(5), 584-599.
Lynch, M. and Ritland, K. (1999) Estimation of pairwise relatedness with molecular markers. Ge- netics, 152, 1753-1766.
Maechler, M. and many others. (2012) Utilities from Seminar fuer Statistik ETH Zurich. R package version 1.0-20.
Nei, M. (1977) F-statistics and analysis of gene diversity in subdivided populations. Annals of Hu- man Genetics, 41, 225-233.
Nei, M. and Chesser R.K. (1983) Estimation of fixation indices and gene diversities. Annals of Human Genetics, 47, 253-259.
Oliehoek, P. A. et al. (2006) Estimating relatedness between individuals in general populations with a focus on their use in conservation programs. Genetics, 173, 483-496.
Oksanen, J. et al. (2013) vegan: Community Ecology Package. R package version 2.0-8.
Queller, D.C. and Goodnight, K.F. (1989) Estimating relatedness using genetic markers. Evolution, 43, 258-275.
Ritland, K. (1999) Estimators for pairwise relatedness and individual inbreeding coefficients. Ge- netics Research, 67, 175-185.
Wang, J. (2002) An estimator for pairwise relatedness using molecular markers. Genetics, 160, 1203-1215.
Weir, B.S. and Cockerham, C.C. (1984) Estimating F-Statistics for the analysis of population struc- ture. Evolution, 38, 1358-1370.


Demerelate documentation built on May 2, 2019, 4:01 p.m.