Learn R Programming

ibdreg (version 0.1.2)

ibd.moments: calculate moments (mean, variance) for simulated ibd vectors

Description

calculate moments (mean, variance) for simulated ibd vectors for an individual predigree from sim.mark.prop

Usage

ibd.moments(simped, person.indx, male, x.linked=FALSE)

Arguments

simped
The object returned from sim.mark.prop
person.indx
male
x.linked
logical, if TRUE, apply the method for an x-linked chromosome

Value

  • a list with person1.id person2.id sm and sv

See Also

sim.mark.prop