getNextRightFocal: Expand the neighborhood to the right

Description Usage Arguments Value Examples

View source: R/find_SNV_utility_functions.R

Description

This function tries to expand the neighborhood to the right, when the next SNV from getNextFromFocal function is incompatible with each SNV in the neighborhood of the focal SNV, and this incompatible SNV could be to the left of the neighborhood.

Usage

1
getNextRightFocal(current, absDist)

Arguments

current

Current SNVs in the neighborhood of focal SNV.

absDist

Absolute distance of SNVs from the focal SNV in base pairs.

Value

An index of a SNV.

Examples

1


perfectphyloR documentation built on March 8, 2021, 9:06 a.m.