Skip to contents

The sites that show an IQR/variance higher than median + 2*MAD are colored in red and are considered as the most variant sites.

Usage

plot_sites_by_IQR(ribo = NULL, plot = "IQR", variance = "IQR", ...)

Arguments

ribo

A ribo class object containing the data

plot

Type of plot: "IQR" (default) or "boxplot"

variance

Metric to visualize: "IQR" (default) or "var" (variance)

...

Additional theme arguments for ggplot

Value

A ggplot object

Examples

data("ribo_toy")
data("human_methylated")
ribo_toy <- rename_rna(ribo_toy)
ribo_toy <- annotate_site(ribo_toy,human_methylated)
plot_sites_by_IQR(ribo = ribo_toy, plot = "IQR")