Description Usage Arguments Details Value See Also Examples
Plot the number of reads vs the proportion of '+' stranded reads of all windows from the input data frame.
1 2 3 |
windows |
data frame containing the strand information of the sliding
windows. Windows should be obtained using the function
|
split |
an integer vector that specifies how you want to partition the
windows based on coverage.
By default |
threshold |
a |
save |
if TRUE, then the plot will be save into the file given by
|
file |
the file name to save to plot |
groupBy |
the column that will be used to split the data (which will be used in the facets method of ggplot2). |
useCoverage |
if TRUE then plot the coverage strand information, otherwise plot the number of reads strand information. FALSE by default |
... |
used to pass parameters to facet_wrap during plotting |
This function will plot the proportion of '+' stranded reads for
each window, against the number of reads in each window.
The threshold lines indicate the hypothetical boundary where windows will
contain reads to kept or discarded using the filtering methods of
filterDNA
.
Any plot can be easily modified using standard ggplot2 syntax (see Examples)
The plot will be returned as a standard ggplot2 object
getStrandFromBamFile
, plotHist
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.