variantGetNext: variantGetNext

View source: R/summix_local.R

variantGetNextR Documentation

variantGetNext

Description

Helper function to get starting end point that is a minimum distance (in variants) from start point; uses indices NOT position numbers

Usage

variantGetNext(positions, start, minVariants)

Arguments

positions

list of positions of variants

start

index of the current start position

minVariants

integer defining the minimum size in number of variants of the window

Value

the new end point index


hendriau/Summix documentation built on April 25, 2024, 2:41 p.m.