Rdocumentation
powered by
Learn R Programming
ibdreg (version 0.2.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
person identifier
male
binary code (1/0) for if person is 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