hlaCheckAllele {HIBAG} | R 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"))

[Package HIBAG version 1.22.0 Index]