Learn R Programming

cobindR (version 1.10.0)

get.pairs: function to get output of findPairs

Description

Function returns the results of findPairs() as a data frame. The data.frame consists of 6 columns, namely
  • a unique id for each pair,
  • the unique id of the sequence, where the pair was found,
  • the names of the corresponding PFMs,
  • the unique id for each PFM, and
  • the distance window in which the pair occurs.

Usage

"get.pairs"(x, background = FALSE)

Arguments

x
an object of the class "cobindr", which holds all necessary information about the sequences and the predicted binding sites.
background
logical flag. If background is 'TRUE' the pairs found in the background sequences are used.

See Also

get.significant.pairs, write.bindingsites, write.sequences, write