exclude.snps
is used to exclude SNPs from specified regions, for example, the GWAS hits and their neighbors.
exclude.snps(stat, excluded.regions)
a data frame containing at least two columns Chr
and Pos
, i.e., the chromosome numbers and base-pair position (bp units) of SNPs.
a data frame specifying the regions to be excluded. It must contains columns Chr
, Start
, and End
. The unit is base-pair (bp). SNPs within [Start, End]
will be excluded.
A data frame containing a subset of stat
after excluding SNPs in specified regions.