Detect entries that are not valid rsID's in GWAS summary statistics
flag_invalid_rsid.Rd
Detect entries that are not valid rsID's in GWAS summary statistics
Arguments
- tbl
a
dplyr::tibble()
with columnRSID
.- regex
regex used to detect non-RSIDs
Value
a dplyr::tibble()
with column invalid_rsid
Examples
if (FALSE) { # \dontrun{
flag_invalid_rsid(tbl) |>
dplyr::filter(invalid_rsid)
} # }