violinPlotD {DAPAR}R Documentation

Builds a violinplot from a dataframe

Description

ViolinPlot for quantitative proteomics data

Usage

violinPlotD(qData, dataForXAxis = NULL, labels = NULL,
  group2Color = "Condition")

Arguments

qData

A dataframe that contains quantitative data.

dataForXAxis

A vector containing the types of replicates to use as X-axis. Available values are: Label, Analyt.Rep, Bio.Rep and Tech.Rep. Default is "Label".

labels

A vector of the conditions (labels) (one label per sample).

group2Color

A string that indicates how to color the replicates: one color per condition (value "Condition") or one color per replicate (value "Replicate"). Default value is by Condition.

Value

A violinplot

Author(s)

Florence Combes, Samuel Wieczorek

See Also

densityPlotD

Examples

require(DAPARdata)
data(Exp1_R25_pept)
library(vioplot)
qData <- Biobase::exprs(Exp1_R25_pept)
types <- c("Label","Analyt.Rep")
dataForXAxis <- Biobase::pData(Exp1_R25_pept)[,types]
labels <- Biobase::pData(Exp1_R25_pept)[,"Label"]
violinPlotD(qData, dataForXAxis, labels)

[Package DAPAR version 1.10.4 Index]