hlaCheckAllele: Check SNP alleles

View source: R/DataUtilities.R

hlaCheckAlleleR Documentation

Check SNP alleles

Description

Check SNP reference and non-reference alleles.

Usage

hlaCheckAllele(allele1, allele2)

Arguments

allele1

two alleles for the first individual, like c("A/G", "C/G")

allele2

two alleles for the second individual, like c("A/G", "C/G")

Value

Return a logical vector, where TRUE indicates the alleles are matching at that locus.

Author(s)

Xiuwen Zheng

See Also

hlaCheckSNPs

Examples

hlaCheckAllele(c("A/G", "T/G", "0/A"), c("G/A", "C/A", "G/0"))

zhengxwen/HIBAG documentation built on Nov. 19, 2024, 1:01 p.m.