Description Usage Arguments References See Also Examples
View source: R/select_window.R
This internal function first identifies as many compatible SNVs as possible around the focal SNV. If the
neighborhood of compatible SNVs is smaller than a user-defined minimum number of SNVs, this function expands
the neighborhood by including incompatible SNVs in order of proximity to the focal SNV using the algorithm
of Mailund et al. (2006). Then the function subsets the columns of the hapMat
data object according
to the resulting SNV window.
1 | selectWindow(hapMat, focalSNV, minWindow)
|
hapMat |
|
focalSNV |
The column number of the focal SNV in the |
minWindow |
Minimum window size of the SNV neighborhood. |
Mailund, T., Besenbacher, S., & Schierup, M. H. (2006). Whole genome association mapping by incompatibilities and local perfect phylogenies. BMC Bioinformatics, 7(1), 454.
reconstructPP
, findSNVs
, subsetHapMat
1 |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.