S4 container for LD information. Stores either a pre-computed
correlation matrix or a GenotypeHandle (or list of handles for
mixture panels) for lazy genotype/correlation access.
Slots
correlationA correlation matrix, a list of per-block matrices (block-diagonal LD), or NULL if genotypes are available and R should be computed on demand.
genotype_handleA
GenotypeHandle, a list ofGenotypeHandles (for mixture panels), or NULL when only pre-computed R is available.snp_idxInteger vector of 1-based SNP indices into the handle's
snp_info. NULL when correlation is pre-computed.variantsA
GRangesobject with variant metadata (A1, A2, variant_id, and optionally allele_freq, variance, n_nomiss).block_metadataAn
LDBlocksobject or adata.framewith block boundary information.n_refInteger, reference panel sample size.