thin: Thin sites

Description Usage Arguments Value Author(s)

Description

Thins a set of sites such that no two sites are within a specified distance (in bp) from one another.

Usage

1
thin(x, distance)

Arguments

x

(numeric vector) specifies the set of sites the user wishes to thin.

distance

(numeric) specifies the desired minimum distance (in bp) between any two sites in the resulting set

Value

The function returns a set of thinned sites where no two sites are within a specified distance (in bp) of each other.

Author(s)

Ariel W Chan, ac2278@cornell.edu


ac2278/BIGRED documentation built on May 28, 2019, 3:22 p.m.