GetAlleleCt | R Documentation |
Returns the effective number of alleles for a variant. Note that if no pvar was provided to the NewPgen() call, this function may return 2 even at multiallelic variants, since the .pgen may not store allele-count information.
GetAlleleCt(pvar_or_pgen, variant_num)
pvar_or_pgen |
Object returned by NewPvar() or NewPgen(). |
variant_num |
Variant index (1-based). |
max(2, <number of alleles the variant_numth variant is known to have>). Note that if no
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.