View source: R/DataUtilities.R
hlaCheckAllele | R Documentation |
Check SNP reference and non-reference alleles.
hlaCheckAllele(allele1, allele2)
allele1 |
two alleles for the first individual, like
|
allele2 |
two alleles for the second individual, like
|
Return a logical vector, where TRUE
indicates the alleles are
matching at that locus.
Xiuwen Zheng
hlaCheckSNPs
hlaCheckAllele(c("A/G", "T/G", "0/A"), c("G/A", "C/A", "G/0"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.