plot_polya_violin: Plots violin plot of estimated polya lengths, other version

View source: R/polya_plots.R

plot_polya_violinR Documentation

Plots violin plot of estimated polya lengths, other version

Description

Plots violin plot of estimated polya lengths, other version

Usage

plot_polya_violin(
  polya_data,
  groupingFactor,
  additional_grouping_factor = NA,
  condition1 = NA,
  condition2 = NA,
  violin = FALSE,
  add_points = FALSE,
  max_points = 500,
  add_boxplot = TRUE,
  fill_by = NA,
  auto_scale = T,
  transcript_id,
  transcript_id_column = "transcript",
  ...
)

Arguments

polya_data

input table with polyA predictions

groupingFactor

which factor to use for grouping

additional_grouping_factor

additional coloring grouping factor

condition1

First condition to include on the plot

condition2

Second condition to include on the plot

violin

Should violin plot be plotted instead of boxplot?

add_points

should individual points be plotted (only if less than max_points). Represented as geom_sina

max_points

maximum number of points to be plotted if add_points is specified

add_boxplot

Add boxplot inside violin?

...

parameters passed to .basic_aesthetics function (scale_x_limit_low = NA, scale_x_limit_high = NA, scale_y_limit_low = NA, scale_y_limit_high = NA, color_palette = "Set1",plot_title=NA)

Value

ggplot object


smaegol/nanotail documentation built on June 29, 2024, 12:35 a.m.