View source: R/krsa_violin_plot_grouped.R
krsa_violin_plot_grouped | R Documentation |
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,
...
)
data |
the scaled dataset from krsa_scaleModel |
peptides |
vector of peptides |
grp_comp |
list of group comparison names |
groups |
(optional) a vector of group names |
test |
perform two group test |
test_method |
type of test (default is wilcox.test) |
violin |
add violin layer |
dots |
add dotplot layer |
lines |
add lines layer |
avg_line |
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()
,
krsa_heatmap_grouped()
,
krsa_histogram_plot()
,
krsa_reverse_krsa_plot()
,
krsa_violin_plot()
,
krsa_waterfall()
,
krsa_zscores_plot()
TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.