Learn R Programming

REDseq (version 1.18.0)

distanceHistSeq2RE: Plot the distance distribution from sequence to the associated RE sites

Description

Give an overview of the distance distribution from all assigned sequences to the associated RE sites. If average or estimate is used for assigning sequences to RE sites, the count for histogram drawing will be adjusted with the weight assigned.

Usage

distanceHistSeq2RE(assignedSeqs, longestDist = 1000, title = "histogram of distance to assigned RE site", xlab = "Distance to assigned RE site", ylab = "Frequency", ylim="")

Arguments

assignedSeqs
result returned from assignSeq2REsite
longestDist
longest distance to keep in the plot
title
an overall title for the plot
xlab
a title for the x axis
ylab
a title for the y axis
ylim
range of y to be plotted

See Also

assignSeq2REsite, distanceHistSeq2RE

Examples

Run this code
library(REDseq)
data(example.assignedREDseq)
distanceHistSeq2RE(example.assignedREDseq,ylim=c(0,20))

Run the code above in your browser using DataLab