Learn R Programming

perfectphyloR (version 0.2.1)

getNextFromFocal: Next SNV from the focal point

Description

This function finds the next SNV to be checked for compatability with the existing window of SNVs.

Usage

getNextFromFocal(current, absDist)

Arguments

current

Current SNVs in the neighborhood of focal SNV.

absDist

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

Value

The index of the SNV that is nearest to the focal SNV but outside the current 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