| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/RcppExports.R |
| 3 |
\name{GetAlleleCode} |
| 4 |
\alias{GetAlleleCode} |
| 5 |
\title{Look up an allele code.} |
| 6 |
\usage{ |
| 7 |
GetAlleleCode(pvar, variant_num, allele_num) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{pvar}{Object returned by NewPvar().} |
| 11 |
|
| 12 |
\item{variant_num}{Variant index (1-based).} |
| 13 |
|
| 14 |
\item{allele_num}{Allele index (1-based).} |
| 15 |
} |
| 16 |
\value{ |
| 17 |
The allele_numth allele code for the variant_numth variant. |
| 18 |
allele_num=1 corresponds to the REF allele, allele_num=2 corresponds to the |
| 19 |
first ALT allele, allele_num=3 corresponds to the second ALT allele if it |
| 20 |
exists and errors out otherwise, etc. |
| 21 |
} |
| 22 |
\description{ |
| 23 |
Look up an allele code. |
| 24 |
} |