View source: R/krsa_violin_plot.R
krsa_violin_plot | R Documentation |
Takes in the scaled dataset from krsa_scaleModel() and plot violin figures using ggplot2
krsa_violin_plot(
data,
peptides,
facet_factor,
facet = T,
samples = NULL,
groups = NULL,
show_legend = F
)
data |
the scaled dataset from krsa_scaleModel |
peptides |
vector of peptides |
facet_factor |
Column used to facet by. Will be used in facet_wrap(). Needs argument facet to be True. |
facet |
boolean to facet the plot by a variable |
samples |
(optional) a vector of sample names |
groups |
(optional) a vector of group names |
show_legend |
to show legend (default = FALSE) |
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_grouped()
,
krsa_waterfall()
,
krsa_zscores_plot()
TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.