krsa_violin_plot: Generates violin plots based on peptides signals intensities

View source: R/krsa_violin_plot.R

krsa_violin_plotR Documentation

Generates violin plots based on peptides signals intensities

Description

Takes in the scaled dataset from krsa_scaleModel() and plot violin figures using ggplot2

Usage

krsa_violin_plot(
  data,
  peptides,
  facet_factor,
  facet = T,
  samples = NULL,
  groups = NULL,
  show_legend = F
)

Arguments

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)

Value

ggplot figure

See Also

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()

Examples

TRUE

CogDisResLab/KRSA documentation built on Oct. 25, 2024, 9:17 a.m.