Description Usage Arguments Value Examples
Converts genetic distance in centimorgans to genetic position in bp.
1 | cm2bp(peaks, annot)
|
peaks |
A data.frame with chr, start_cm and end_cm information. |
annot |
A data.frame with chr, cm and bp columns. |
The peaks data.frame with the start_bp and end_bp columns inserted.
1 2 3 4 | par <- partbl(list.files(pattern = "-parametric.tbl$")
peaks <- peaks(par)
annot <- read_annot("annotHapMap2U.txt")
cm2bp(peaks, annot)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.