plot.detrending {cobindR} | R Documentation

## function to plot distances between a pair of PWMs

### Description

plot.detrending plots a histograms of observed distances between the specified pair of PWMs in the foreground set of the sequences as well as the background set of sequences. The distance distribution for the pair in the background is used for detrending.

### Usage

    ## S4 method for signature 'cobindr'
    plot.detrending(x, pwm1, pwm2, bin_length=20, z_value=3, overlap=0,
    abs.distance=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
`bin_length` | defines size of bins for distance analysis, default value is 20 nucleotides
`z_value` | level of significance
`overlap` | number of nucleotides which are allowed for an overlap
`abs.distance` | logical flag

### Author(s)

Yue-Hien Lee

### See Also

`plot.pairdistribution`, `plot.pairdistance`

[Package cobindR version 1.24.0 Index]