fourGamete: Four-Gamete Test

Description Usage Arguments Value Examples

View source: R/find_SNV_utility_functions.R

Description

This function performs the Four-Gamete Test to check the compatability of two SNVs. If all four haplotypes (00,10,01,11) are observed for two SNVs, those two SNVs are incompatible.

Usage

1
fourGamete(snv1, snv2)

Arguments

snv1

First SNV.

snv2

Second SNV.

Value

TRUE, if both SNVs are incompatible.

Examples

1


perfectphyloR documentation built on March 8, 2021, 9:06 a.m.