Debian Codegraph @

pgenlibr/man/GetAlleleCt.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/RcppExports.R
3 \name{GetAlleleCt}
4 \alias{GetAlleleCt}
5 \title{Returns the effective number of alleles for a variant. Note that if no
6 pvar was provided to the NewPgen() call, this function may return 2 even at
7 multiallelic variants, since the .pgen may not store allele-count
8 information.}
9 \usage{
10 GetAlleleCt(pvar_or_pgen, variant_num)
11 }
12 \arguments{
13 \item{pvar_or_pgen}{Object returned by NewPvar() or NewPgen().}
14
15 \item{variant_num}{Variant index (1-based).}
16 }
17 \value{
18 max(2, <number of alleles the variant_numth variant is known to
19 have>). Note that if no
20 }
21 \description{
22 Returns the effective number of alleles for a variant. Note that if no
23 pvar was provided to the NewPgen() call, this function may return 2 even at
24 multiallelic variants, since the .pgen may not store allele-count
25 information.
26 }