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

Description Usage Arguments Value See Also

View source: R/ibd.moments.q

Description

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

Usage

1
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


ibdreg documentation built on Sept. 5, 2021, 5:53 p.m.