get_deltas: Pairwise distances between markers

View source: R/get_deltas.R

get_deltasR Documentation

Pairwise distances between markers

Description

Helper function for test statistic simulation. Get distances between consecutive markers.

Usage

get_deltas(map)

Arguments

map

data frame with m rows and 2 columns ('chr' containing chromosome number and 'cM' containing genetic position in centimorgans), where m = no. markers

Value

Numeric vector (length m-1) of distances between markers.


kegrinde/STEAM documentation built on June 30, 2024, 11:27 p.m.