Skip to content

Simulation of consanguineous unions in human populations with R

1 message · Gorjanc Gregor

#
Hi Hinda Haned!
I guess there is plenty of programs that can simulate various scenarious. However,
each simulation has a likely different scope and therefore the implenetations differ.
I guess you could write your own simulator quite easily with few lines of R code -
various r* functions can be of great help.

If I understand your question concerning the relationship take a look at a function kinship() or
relationshipAdditive() in the GeneticsPed package. As has been pointed out by Thibaut,
the package is not ready for use. However, you can see how kinship or additive
genetic relationship coefficients can be computed. There is also a package kinship()
that also has some similar functions.

Gregor