opt_violin | R Documentation |
Violin plots of co-clustering validation results
opt_violin(
data,
para.na,
bar.width = 0.1,
thr = NULL,
title = NULL,
title.size = 25,
xlab = NULL,
ylab = NULL,
axis.title.size = 25,
x.text.size = 25,
y.text.size = 25,
x.agl = 0,
x.vjust = 0.6
)
data |
A |
para.na |
Targe parameters, which are one or multiple column names in |
bar.width |
Width of the bar. |
thr |
A y-axis threshold, which will be used to draw a horizontal line. |
title , title.size |
The plot title and its size. |
xlab , ylab |
The x and y axis label respectively. |
axis.title.size |
The size of x and y axis labels. |
x.text.size , y.text.size |
The size of x and y axis text. |
x.agl , x.vjust |
The angle and vertical position of x-axis text. |
An object of ggplot.
Jianhai Zhang jzhan067@ucr.edu
Dr. Thomas Girke thomas.girke@ucr.edu
H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016.
set.seed(10)
data <- data.frame(auc=round(runif(30, 0, 1), 2), accuracy=round(runif(30, 0, 1), 2))
opt_violin(data=data, para.na=c('auc', 'accuracy'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.