kin2cm | R Documentation |
"Converts" a kinship coefficient to put on the same scale as shared cM using the formula cm <- pmin(3560, 4*pmax(0, k)*3560).
kin2cm(k)
k |
Kinship coefficient (numeric, typically between 0 and .5, although KING can produce values <0). |
A vector of numeric estimated cM, ranging from 0-3560.
https://dnapainter.com/tools/sharedcmv4.
https://www.ancestry.com/dna/resource/whitePaper/AncestryDNA-Matching-White-Paper.pdf.
kin2cm(.25) kin2cm(.125) kin2cm(.0625) dibble(9) %>% dplyr::mutate(cm=kin2cm(k))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.