Get variant information from any LD reference source without loading genotypes.
Source:R/file_utils.R
get_ref_variant_info.RdAuto-detects the source type (PLINK2, PLINK1, or pre-computed LD metadata) and returns variant metadata. For PLINK2, opens only the .pvar file. For PLINK1, reads only the .bim file. No genotype data is loaded.