| rank2mapChr | R Documentation |
Determines the start and end positions of SNPs within a sliding window along a chromosome. Uses a two-pointer approach for efficiency.
rank2mapChr(x, windowSize)
x |
A numeric vector of sorted SNP positions. |
windowSize |
The size of the genomic window in base pairs. |
New from Inchworm by Stuart J.E. Baird. Implemented from diemr 1.4.2
A matrix with two columns:
start: The index of the leftmost SNP within the window.
end: The index of the rightmost SNP within the window.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.