Return the per-block GRanges carried by an
LdBlocks object.
Lightweight handle to genotype data in any supported format. Stores the file path, detected format, and cached SNP metadata. Used to defer reading genotypes until block-level extraction is needed.
Slots
pathCharacter, path to the genotype file (or stem for plink).
formatCharacter, one of "gds", "vcf", "plink1", "plink2".
snpInfoA
data.framewith columnsSNP,CHR,BP,A1,A2. Cached on first access.nSamplesInteger, number of samples.
sampleIdsCharacter vector of sample identifiers.
pgenPtrAn external pointer for plink2 pgen handle, or NULL.