AlleleCodeBuf | Returns an empty two-row numeric matrix that ReadAlleles()... |
BoolBuf | Returns a bool buffer that ReadAlleles() can load phasing... |
Buf | Returns a numeric buffer that Read() or ReadHardcalls() can... |
ClosePgen | Closes a pgen object, releasing resources. |
ClosePvar | Closes a pvar object, releasing memory. |
GetAlleleCode | Look up an allele code. |
GetAlleleCt | Returns the effective number of alleles for a variant. Note... |
GetMaxAlleleCt | Returns the maximum GetAlleleCt() value across all variants... |
GetRawSampleCt | Returns the number of samples in the file. |
GetVariantChrom | Retrieve chromosome ID for given variant index. |
GetVariantCt | Returns the number of variants in the file. |
GetVariantId | Convert variant index to variant ID string. |
GetVariantPos | Retrieve POS (base-pair coordinate on a chromosome) for given... |
GetVariantsById | Convert variant ID string to variant index(es). |
HardcallPhasePresent | Returns whether explicitly phased hardcalls are present. |
IntAlleleCodeBuf | Returns an empty two-row integer matrix that ReadAlleles()... |
IntBuf | Returns an integer buffer that ReadHardcalls() can load to. |
NewPgen | Opens a .pgen or PLINK 1 .bed file. |
NewPvar | Loads variant positions, IDs, and allele codes from a .pvar... |
pgenlibr-package | PLINK 2 Binary (.pgen) Reader |
Read | Loads the variant_numth variant, and then fills buf with... |
ReadAlleles | Loads the variant_numth variant, and then fills acbuf with... |
ReadHardcalls | Loads the variant_numth variant, and then fills buf with {0,... |
ReadIntList | Load hardcalls for multiple variants as an integer matrix. |
ReadList | Load dosages for multiple variants as a numeric matrix. |
VariantScores | Compute variant scores. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.