hPed2Ped: Transform a haplotype pedigree into a pedigree.

Description Usage Arguments Value See Also Examples

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

1
hPed2Ped(hPed)

Arguments

hPed

The haplotype pedigree from which the pedigree is build.

Value

A data.frame.

See Also

SampleHaplotype, buildhPedigree

Examples

1
2
example(buildhPedigree)
ped <- hPed2Ped(hPedigree)

HaploSim documentation built on May 2, 2019, 2:09 a.m.

Related to hPed2Ped in HaploSim...