exclude.snps: Excluding SNPs from specified regions

Description Usage Arguments Value

View source: R/exclude.snps.R

Description

exclude.snps is used to exclude SNPs from specified regions, for example, the GWAS hits and their neighbors.

Usage

1
exclude.snps(stat, excluded.regions)

Arguments

stat

a data frame containing at least two columns Chr and Pos, i.e., the chromosome numbers and base-pair position (bp units) of SNPs.

excluded.regions

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.

Value

A data frame containing a subset of stat after excluding SNPs in specified regions.


zhangh12/ARTP2 documentation built on Aug. 16, 2019, 7:27 p.m.