getNextEndPoint: getNextEndPoint

View source: R/summix_local.R

getNextEndPointR Documentation

getNextEndPoint

Description

Helper function: algorithm to get next end point in basic window algorithm; will find first point that is at least window size away from start

Usage

getNextEndPoint(data, start, windowSize)

Arguments

data

the input dataframe subset to the chromosome

start

index of the current start point

windowSize

the window size (in bp or variants)

Value

index of end point of window


hendriau/Summix documentation built on Nov. 13, 2024, 6:53 a.m.