R/ctwas_utils.R
convert_to_ukb_varIDs.Rd
Convert variant IDs from Open GWAS format or PredictDB weight format
convert_to_ukb_varIDs(varIDs, ref_format = "%s:%s_%s_%s")
a vector of variant IDs from Open GWAS format ("chr_pos_ref_alt") or PredictDB weight format (“chr_pos_ref_alt_build” or “chr:pos_ref_alt_build”)
variant ID format in the LD reference.
a vector of variant IDs in the format of the LD reference.