Skip to contents

Identifies SNPs with ambiguous strand (A/T or G/C allele pairs).

Usage

isStrandAmbiguous(effectAllele, otherAllele)

Arguments

effectAllele

Character vector of effect alleles.

otherAllele

Character vector of other alleles.

Value

Logical vector indicating which SNPs are strand-ambiguous.

Examples

isStrandAmbiguous(c("A", "G", "A"), c("T", "C", "C"))
#> [1]  TRUE  TRUE FALSE