Learn R Programming

cobindR (version 1.10.0)

plot.pairdistance: 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

"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

See Also

plot.pairdistribution