OpposingViolinBiclassPlot: OpposingViolinBiclassPlot

View source: R/OpposingViolinBiclassPlot.R

OpposingViolinBiclassPlotR Documentation

OpposingViolinBiclassPlot

Description

Creates a set of two violin plots opposing each other

Usage

OpposingViolinBiclassPlot(ListData, Names, BoxPlots = FALSE,
Subtitle = c("AttributeA", "AttributeB"),
Title = "Opposing Violin Biclass Plot")

Arguments

ListData

List of k matrices as elements where each element has shape [1:n, 1:2]

Names

Vector of character names for each element of ListData

BoxPlots

Optional: Boolean variable BoxPlots = TRUE shows a box plot drawn into the violin plot. BoxPlots = FALSE shows no box plot. Default: BoxPlots = FALSE

Subtitle

Optional: Vector of character names for two classes. The classes are described as features contained in the matrix [1:n, 1:2]

Title

Optional: Character containing the title of the plot.

Value

Plotly object.

Author(s)

Quirin Stier


Mthrun/DataVisualizations documentation built on Feb. 21, 2025, 1:36 a.m.