thin: Thin sites

Description Usage Arguments Value Author(s)

View source: R/thin-function.R

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, [email protected]


ac2278/BIGRED documentation built on Aug. 14, 2018, 5:23 a.m.