rg | R Documentation |
Calculates genetic relationship coefficient between two individuals.
rg(ped, id1, id2)
ped |
: |
id1 |
: Numeric ID of an individual |
id2 |
: Numeric ID of an individual |
Genetic relationship coefficient between the two individuals
ped = data.frame(ID=1:7, SIRE=c(0,0,1,1,3,1,5), DAM=c(0,0,0,2,4,4,6)) rg(ped, 5, 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.