View source: R/kinship_std_limit.R
kinship_std_limit | R Documentation |
This function calculates the biased limiting expectation of the standard kinship estimator. This limit is easily calculated given the true kinship matrix and the weights used to estimate the ancestral allele frequency.
kinship_std_limit(kinship, weights = NULL)
kinship |
The true kinship matrix |
weights |
Optional weights for individuals |
The biased limit of the standard kinship estimator
Standard kinship estimator kinship_std()
.
# create a dummy kinship matrix kinship <- matrix( c( 0.6, 0.1, 0, 0.1, 0.6, 0.1, 0, 0.1, 0.6 ), nrow = 3 ) # this is its biased limit # (uniform weights) kinship_biased_limit <- kinship_std_limit(kinship)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.