get_deltas: Pairwise distances between markers

Description Usage Arguments Value

View source: R/get_deltas.R

Description

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

Usage

1

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.


GrindeLab/STEAMcpp_mirror documentation built on Dec. 31, 2020, 12:05 p.m.