getNextLeftFocal: Expand the neighborhood to the left

Description Usage Arguments Value See Also Examples

View source: R/find_SNV_utility_functions.R

Description

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

Usage

1
getNextLeftFocal(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 to the left of the neighborhood to be returned to findSNVs.

See Also

findSNVs

Examples

1


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