Augment a data.frame with information from dbSNP
repair_ids.Rd
Augment a data.frame with information from dbSNP
Arguments
- tbl
a
dplyr::tibble()
with columns CHR, POS, EffectAllele, OtherAllele or RSID, EffectAllele, OtherAllele2.- repair
"rsid" to repair RSID, "pos" to repair CHR and POS
- build
used if repair = "rsid" to specify genome build
- dbsnp_path
path to the directory containing the dbSNP dataset
Value
a dplyr::tibble()
with added columns CHR, POS_37, POS_38 RSID, REF_37, ALT_37, REF_38, ALT_38, no_dbsnp_entry, incompat_alleles