Skip to contents

Deprecated. Use [read_bim()] via the standard I/O path instead. This wrapper remains for backwards compatibility and calls [read_bim()] internally, mapping its output to the legacy column names.

Usage

ctwas_bimfile_loader(bim_file_path)

Arguments

bim_file_path

Path to a PLINK .bim file (or a .bed file - the .bim extension is resolved automatically).

Value

A data.frame with columns chrom, id, GD, pos, A1, A2. Variant IDs are normalised via [normalize_variant_id()].