plot.pairdistance {cobindR} | R Documentation

## function to plot the distance of the pairs in the sequences

### Description

For a specified pair of PWMs the function creates histogram plot of distances between pairs of TFs as specified by pwm1 and pwm2

### Usage

    ## S4 method for signature 'cobindr'
    plot.pairdistance(x, pwm1, pwm2, breaks=50, main=NA, xlab=NA, ylab=NA, background=FALSE)

### Arguments

`x` | an object of the class "cobindr", which will hold all necessary information about the sequences and the hits.
`pwm1` | name of the first PWM
`pwm2` | name of the second PWM
`breaks` | number of breaks to separate the distance distribution into
`main` | figure title
`xlab` | label for the x-axis of the figure
`ylab` | label for the y-axis of the figure
`background` | flag allowing to plot foreground or background distance distribution

### Author(s)

Manuela Benary <manuela.benary@cms.hu-berlin.de>

### See Also

`plot.pairdistribution`

[Package cobindR version 1.24.0 Index]