an integer specifying a lower bound on the number of affected
individuals, or the character 'last.gen'. The latter produce a pedigree
where at least one in the youngest generation is affected.
founder.mut
an integer, the number of disease alleles to be
distributed among the founders.
Value
A linkdat object.
Details
The function produces a random simple pedigree. Each founder is given at most
one disease allele. At least one of the two top founders carries a disease
allele.
# NOT RUN {plot(randomPed(3))
# gives error message: Not enough founder mutations# }# NOT RUN {randomPed(gen=4, penetrances=c(0,0,1), naff=2, founder.mut=1)
# }# NOT RUN {# }