Learn R Programming

pgenlibr (version 0.4.0)

GetVariantCt: Returns the number of variants in the file.

Description

Returns the number of variants in the file.

Usage

GetVariantCt(pvar_or_pgen)

Value

Number of variants.

Arguments

pvar_or_pgen

Object returned by NewPvar() or NewPgen().