Learn R Programming

perfectphyloR (version 0.2.1)

getNextLeftFocal: Expand the neighborhood to the left

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

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

Run this code
# NOT RUN {
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab