Description Usage Arguments Value See Also Examples
View source: R/find_SNV_utility_functions.R
This function applies the four-gamete test to the pair of SNVs defined next SNV with each SNV in current neighborhood, to check the compatability.
1 | checkCompatible(current, nextSNV, hapmat)
|
current |
Current SNVs in the neighborhood. This starts from the focal SNV. |
nextSNV |
A SNV whose compatability with each SNV in the current neighborhood needs to be checked. |
hapmat |
A matrix of 0's and 1's, with rows representing haplotypes and columns representing SNVs. |
A logical vector of the same length as current
with entries being TRUE
if next SNV is compatible
with the corresponding SNV in current
and FALSE
other wise;returned to findSNVs
1 |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.