cat_dom_relat: Categorize the dominant relationship from an ancestry match...

Description Usage Arguments Details Value Examples

View source: R/cat_dom_relat.R

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

1

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

1

CKMRpop documentation built on July 17, 2021, 5:07 p.m.