pedigreeNaming: Fix Pedigree Errors

View source: R/namingInferedPedigree.R

pedigreeNamingR Documentation

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)

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.

Value

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

See Also

rpoh and ohg

Examples

# Please run demo(hsphase)

hsphase documentation built on May 29, 2024, 2:20 a.m.