Learn R Programming

hsphase (version 2.0.4)

pedigreeNaming: Fix Pedigree Errors

Description

Tries to link the inferred pedigree from rpoh with the sire IDs in the original pedigree and fix pedigree errors.

Usage

pedigreeNaming(inferredPedigree, realPedigree)

Value

Returns the inferred pedigree with the best fit to the sire names used in the original pedigree file.

Arguments

inferredPedigree

matrix inferred pedigree (output of rpoh )

realPedigree

matrix original pedigree

Details

This function calls the bmh and recombinations functions to count the number of recombinations in each half-sib group.

See Also

rpoh and ohg

Examples

Run this code
# Please run demo(hsphase)

Run the code above in your browser using DataLab