-
Notifications
You must be signed in to change notification settings - Fork 5
/
plot_polya_distribution.Rd
51 lines (41 loc) · 1.56 KB
/
plot_polya_distribution.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/polya_plots.R
\name{plot_polya_distribution}
\alias{plot_polya_distribution}
\title{Plots polya distribution as ndensity plot}
\usage{
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",
...
)
}
\arguments{
\item{polya_data}{input data with polyA predictions}
\item{groupingFactor}{how to group}
\item{parameter_to_plot}{what to plot on x scale (defaults to polya_length)}
\item{condition1}{First condition to include on the plot}
\item{condition2}{Second condition to include on the plot}
\item{show_center_values}{Show center values as vertical line. Possible values: "none","median","mean"}
\item{subsample}{Subsample input table, provide either absolute number or fraction}
\item{ndensity}{Should ndensity (scaled density) be plotted instead of normal denisty (default = TRUE)}
\item{mode_method}{method used for the mode calculation (argument to modeest::mlv method parameter)}
\item{auto_scale}{automatically adjust axis scales (default=TRUE)}
\item{...}{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{
\link[ggplot2]{ggplot} object
}
\description{
Plots polya distribution as ndensity plot
}