get_deltas | R Documentation |
Helper function for test statistic simulation. Get distances between consecutive markers.
get_deltas(map)
map |
data frame with m rows and 2 columns ('chr' containing chromosome number and 'cM' containing genetic position in centimorgans), where m = no. markers |
Numeric vector (length m-1) of distances between markers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.