hPed2Ped: Transform a haplotype pedigree into a pedigree.
Description
Transforms a haplotype pedigree into a pedigree. Individuals in a
haplotype pedigree are identified through meiosis. The number of rows
of the pedigree equals the number of unique combinations of haplotypes
plus the number of haplotypes which did not 'participate' in a meiosis
event. The latter haplotypes form individuals with only one haplotype
and thus only one parent.
Row number of the pedigree identifies individuals. The pedigree has
four columns. Columns 3 and 4 identify the haplotypes of the
individual. Columns 1 and 2 identify parental individuals of the
individuals by their row number in the pedigree.
Usage
hPed2Ped(hPed)
Value
A data.frame.
Arguments
hPed
The haplotype pedigree from which the pedigree is build.