getNextStartPoint | R Documentation |
Helper function: algorithm to get next start point; will pick the point that provides approx. the specified amount of overlap, but not more; if there are only two variants in the previous block, will jump new start point to the previous end point
getNextStartPoint(data, start, end, overlap)
data |
the input dataframe subset to the chromosome |
start |
the current index of start point |
end |
the current index of end point |
overlap |
the desired amount of window overlap (in bp or variants) |
returns index of new start point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.