Learn R Programming

sequoia (version 2.11.1)

DyadCompare: Compare Dyads (DEPRECATED)

Description

Count the number of half and full sibling pairs correctly and incorrectly assigned. DEPRECATED - PLEASE USE ComparePairs

Usage

DyadCompare(Ped1 = NULL, Ped2 = NULL, na1 = c(NA, "0"))

Value

A 3x3 table with the number of pairs assigned as full siblings (FS), half siblings (HS) or unrelated (U, including otherwise related) in the two pedigrees, with the classification in Ped1 on rows and that in Ped2 in columns.

Arguments

Ped1

original pedigree, dataframe with 3 columns: id-dam-sire.

Ped2

second (inferred) pedigree.

na1

the value for missing parents in Ped1.

See Also

ComparePairs which supersedes this function; PedCompare

Examples

Run this code
if (FALSE) {
DyadCompare(Ped1=Ped_HSg5, Ped2=SeqOUT_HSg5$Pedigree)
}

Run the code above in your browser using DataLab