get_snps_within_region()
Arguments
- df
data frame of association results with the columns CHR and POS
- region
A string representing the genetic region (e.g chr16:50693587-50734041)
- chr
A string, chromosome (e.g. chr16)
- xmin
An integer, include variants with POS larger than xmin
- xmax
An integer, include variants with POS smaller than xmax
- keep_chr
Deprecated: Logical, set to FALSE to remove the "chr" prefix before each chromosome if present (TRUE by default)