noiseComparisonPlot | R Documentation |
Plots the average standardized signal from noiseAnalyze alongside the samples in RLBase. For this plot, lower average signal indicates better signal to noise ratio. Note: This plot may be misleading if you supplied custom windows when running noiseAnalyze.
noiseComparisonPlot(object, mode = "auto", simple = TRUE, returnData = FALSE)
object |
An RLRanges object with noiseAnalyze already run. |
mode |
A |
simple |
A |
returnData |
If TRUE, plot data is returned instead of plotting. Default: FALSE |
The mode
parameter specifies the R-loop modality to compare the
user-supplied sample against in the plot. The default, "auto"
specifies that the mode
from the supplied RLRanges
object will
be used. Only one mode can be specified. For a list of applicable modes,
see auxdata$available_modes
.
The plot is a violin / jitter plot showing the distribution of average values
from the noiseAnalyze output across RLBase samples of the selected mode
.
The user-supplied sample is annotated on the plot.
A ggplot2::ggplot object or a tbl
if returnData
is TRUE
.
rlr <- readRDS(system.file("extdata", "rlrsmall.rds", package = "RLSeq")) # Plot RL-Region overlap noiseComparisonPlot(rlr) # Return data only noiseComparisonPlot(rlr, returnData = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.