perm.hap
function. The output of this function can be passed to that one.
Preparation.hap.perm(pedigree, generation.id, indices.haplotypes1, indices.haplotypes2).ped file
or a Plink .bim file.generation.id=0),
a child from first generation (generation.id=1), a
child from second generation (generation.id=2), etc.
This vector can be calculated by the
kinship2::kindepth() function.read.pedigree