Learn R Programming

cobindR (version 1.10.0)

write.pairs: function to write output of findPairs into file

Description

Function writes the results of findPairs() as a tab-separated file. The file 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

"write.pairs"(x, file = NULL, background = FALSE)

Arguments

x
an object of the class "cobindr", which holds all necessary information about the sequences and the predicted binding sites.
file
path to file. If filename is 'NULL' a filename is generated based on the name of the object of class "cobindr".
background
logical flag. If background is 'TRUE' the pairs found in the background sequences are used.

See Also

write.bindingsites.table, write.bindingsites, write.sequences, write