get_snps_within_region()

get_snps_within_region(df, region, chr = NULL, xmin = NULL, xmax = NULL)

Arguments

df

data frame of association results with the columns CHR and POS

region

string representing the genetic region (e.g chr16:50693587-50734041)

chr

chromosome (e.g. chr16)

xmin

include variants with POS larger than xmin

xmax

include variants with POS smaller than xmax

Value

the variants within the requested region

Examples

if (FALSE) { get_snps_within_region(dat, "chr16:50593587-50834041") }