Description Usage Arguments Examples
This function tests for relatedness by computing the relatedness coefficient between two given individuals (id1 and id2) in a given pedigree (ped). It returns either 1 for 'related' (i.e. r > 0) or 0 for 'unrelated' (r = 0).
1 | is_related(id1, id2, ped = NA, df_ped, relate)
|
id1 |
ID of first individual |
id2 |
ID of second individual |
ped |
A pedigree object containing both individuals |
df_ped |
A dataframe |
relate |
A realtionship matrix for twin zygosity |
1 2 3 4 | ## Not run:
grap_ped(1067, df_ped)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.