Learn R Programming

cobindR (version 1.10.0)

find.pairs: function to find pairs of binding sites for every sequence in a given object of class "cobindr"

Description

find.pairs creates a data frame with all pairs in all sequences within the given distance.

Usage

find.pairs(x, background_scan = FALSE, n.cpu = NA)

Arguments

x
an object of the class "cobindr", which will hold all necessary information about the sequences and the hits.
background_scan
logical flag, if background_scan = TRUE the pairs for the background sequences will be found.
n.cpu
number of CPUs to be used for parallelization. Default value is 'NA' in which case the number of available CPUs is checked and than used.

Value

runObj
an object of the class "cobindr" including the pairs of transcription factor binding sites

See Also

plot.detrending