cat_dom_relat {CKMRpop}R Documentation

Categorize the dominant relationship from an ancestry match matrix

Description

This function takes an ancestry match matrix (AMM) and it returns what the "dominant" relationship is. It doesn't try to capture all the nuances that might be present in the AMM. For example, it does not note inbreeding and other such things. However this is useful for categorizing what type of relationship is the "closest" relationship type amongst all the ways a pair is related. Currently for num_generations == 2, the function goes through in this order, to identify relationships:

Usage

cat_dom_relat(AMM)

Arguments

AMM

The ancestry match matrix to categorize

Details

And so forth. This has been implemented out to 3 generations using the relationship zones in package data object relationship_zone_names.

Value

This returns a list with two components:

Examples

cat_dom_relat(half_first_cousin_amm)

[Package CKMRpop version 0.1.3 Index]