inferRelatedness {BGmisc} | R Documentation |
Infer Relatedness Coefficient
Description
The function uses the ACE framework to infer the relatedness between two individuals.
Usage
inferRelatedness(obsR, aceA = 0.9, aceC = 0, sharedC = 0)
Arguments
obsR |
Numeric. Observed correlation between the two groups. Must be between -1 and 1. |
aceA |
Numeric. Proportion of variance attributable to additive genetic variance. Must be between 0 and 1. Default is 0.9. |
aceC |
Numeric. Proportion of variance attributable to shared environmental variance. Must be between 0 and 1. Default is 0. |
sharedC |
Numeric. Proportion of shared environment shared between the two individuals. Must be between 0 and 1. Default is 0. |
Details
Infers the relatedness coefficient between two groups based on the observed correlation between their additive genetic variance and shared environmental variance.
Value
Calculated relatedness coefficient ('est_r').
Examples
## Not run:
# Infer the relatedness coefficient:
inferRelatedness(obsR = 0.5, aceA = 0.9, aceC = 0, sharedC = 0)
## End(Not run)
[Package BGmisc version 1.2.0 Index]