Learn R Programming

ibdreg (version 0.3.8)

sim.ibd.setup: set-up functions for sim.mark.prop

Description

set-up functions for sim.mark.prop

Usage

sim.ibd.setup(ped, miss.val = c(NA, 0), x.linked=FALSE)
setFounderAlleles(ped, x.linked=FALSE)

Value

A ped object to be used in sim.mark.prop

Arguments

ped

a data.frame with data to characterize one pedigree. The columns contain id codes for person, mother, and father; also a column for sex.

miss.val

code(s) for missing values ped

x.linked

logical; if TRUE, apply method to x chromosome

See Also

sim.mark.prop