violinPlotD: Builds a violinplot from a dataframe

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plots_violin.R

Description

Builds a violinplot from a dataframe

Usage

1
2
3
4
5
6
7
8
violinPlotD(
  obj,
  conds,
  keyId,
  legend = NULL,
  palette = NULL,
  subset.view = NULL
)

Arguments

obj

xxx

conds

xxx

keyId

xxx

legend

A vector of the conditions (one condition per sample).

palette

xxx

subset.view

xxx

Value

A violinplot

Author(s)

Samuel Wieczorek, Anais Courtier

See Also

densityPlotD

Examples

1
2
3
4
5
6
utils::data(Exp1_R25_prot, package='DAPARdata')
obj <- Exp1_R25_prot
library(vioplot)
legend <- conds <- Biobase::pData(obj)$Condition
key <- "Protein_IDs"
violinPlotD(obj, conds=legend, keyId=key, legend=legend, palette=c(rep('blue',3), rep('green',3)),subset.view=1:10)

DAPAR documentation built on April 11, 2021, 6 p.m.