Skip to contents

Plot boxplot representing the C-score values of all samples for each individual annotated site. Sites are sorted by their median.

Usage

boxplot_cscores(
  ribo,
  outlier = TRUE,
  sort_by = c("median", "iqr", "var")[1],
  horizontal = FALSE
)

Arguments

ribo

A RiboClass object.

outlier

Show boxplot outlier values.

sort_by

Sort sites by median ("median", default) by variance ("var") or IQR ("iqr").

horizontal

Show boxplot horizontally.

Value

a ggplot geom_boxplot

Examples

data("ribo_toy")
data("human_methylated")
ribo_toy <- rename_rna(ribo_toy)
ribo_toy <- annotate_site(ribo_toy,human_methylated)
boxplot_cscores(ribo_toy)