Learn R Programming

perfectphyloR (version 0.2.1)

fourGamete: Four-Gamete Test

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

fourGamete(snv1, snv2)

Arguments

snv1

First SNV.

snv2

Second SNV.

Value

TRUE, if both SNVs are incompatible.

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab