krsa_violin_plot_grouped.Rd
Takes in the scaled dataset from krsa_scaleModel() and plot violin figures using ggplot2
krsa_violin_plot_grouped(
data,
peptides,
grp_comp = NULL,
groups = NULL,
test = F,
test_method = "wilcox.test",
violin = TRUE,
dots = FALSE,
lines = FALSE,
avg_line = T,
...
)
the scaled dataset from krsa_scaleModel
vector of peptides
list of group comparison names
(optional) a vector of group names
perform two group test
type of test (default is wilcox.test)
add violin layer
add dotplot layer
add lines layer
draw averaged line across the two groups
arguments passed to ggsignif
ggplot figure
Other plots:
krsa_ball_model()
,
krsa_coverage_plot()
,
krsa_curve_plot()
,
krsa_cv_plot()
,
krsa_heatmap_grouped()
,
krsa_heatmap()
,
krsa_histogram_plot()
,
krsa_reverse_krsa_plot()
,
krsa_violin_plot()
,
krsa_waterfall()
,
krsa_zscores_plot()
TRUE
#> [1] TRUE