plot_polya_distribution | R Documentation |
Plots polya distribution as ndensity plot
plot_polya_distribution(
polya_data,
groupingFactor = NA,
parameter_to_plot = "polya_length",
condition1 = NA,
condition2 = NA,
show_center_values = "none",
subsample = NA,
ndensity = TRUE,
mode_method = "density",
auto_scale = T,
transcript_id = NULL,
transcript_id_column = "transcript",
...
)
polya_data |
input data with polyA predictions |
groupingFactor |
how to group |
parameter_to_plot |
what to plot on x scale (defaults to polya_length) |
condition1 |
First condition to include on the plot |
condition2 |
Second condition to include on the plot |
show_center_values |
Show center values as vertical line. Possible values: "none","median","mean" |
subsample |
Subsample input table, provide either absolute number or fraction |
ndensity |
Should ndensity (scaled density) be plotted instead of normal denisty (default = TRUE) |
mode_method |
method used for the mode calculation (argument to modeest::mlv method parameter) |
auto_scale |
automatically adjust axis scales (default=TRUE) |
... |
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) |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.