Functions for studying realized genetic relatedness between people. Users will be able to simulate inheritance patterns given pedigree structures, generate SNP marker data given inheritance patterns, and estimate realized relatedness between pairs of individuals using SNP marker data. See Wang (2017)
Realized Relatedness Estimation and Simulation
This package contains useful functions for studying realized genetic relatedness between individuals who can trace back to some recent common ancestors. Functions in this package fall into four main categories:
Simulation of inheritance pattern and SNP marker data
-sim.recomb()
-sim.haplotype()
-populate.snp()
Scoring identity by descent information from simulated inheritance patterns
-ibd.length()
-ibd.proportion()
-ibd.segment()
-ibd.marker()
Estimation of realized relatedness from SNP marker data using the GRM estimators
-grm.pair()
-grm.matrix()
-ld.weights()
Various utility functions
-check.pedinfo()
-get.pedindex()
-fgl2ibd()
-fgl2relatedness()
-recode.ibd()
-recode.snpdata()
-read.plink.text()
-read.plink.binary()
-write.ibdhaplo()