Questions tagged [violin-plot]

A violin plot is a method of plotting numeric data. It is a box plot with a rotated kernel density plot on each side.

A violin plot is a method of plotting numeric data. It is a box plot with a rotated kernel density plot on each side.

https://en.wikipedia.org/wiki/Violin_plot

364 questions
-2
votes
1 answer

Plot multiple violin/box plots with variable width in R

I have a dataframe trtime containing the travel time (Travel_time) of certain trajects and plot them using a violin plot. I would like to plot each violin plot with a different width, how can I do this? I have four trajects (Traject) and have…
AVS
  • 99
  • 2
  • 11
-2
votes
1 answer

Split violin plot with points on top to indicate info

This is a followup post from here and here I have successfully implemented the split violin ggplot2 for my data (two median estimator densities, for two cases) that need to be compared. Now, since i would like to add some confidence interval. I m…
-3
votes
1 answer

How to draw a violin plot with the color showing the expression of gene value?

I am trying to plot the gene expression of "gene A" among several groups. I use ggplot2 to draw, but I fail p <- ggplot(MAPK_plot, aes(x = group, y = gene_A)) + geom_violin(trim = FALSE , aes( colour = gene_A)) + theme_classic() And I want to get…
-3
votes
2 answers

How do I make multiple boxplots on the same graph for different water logger values for example (all columns have continuous data, no factors) in R

Lets say I have the following dataset 1 I want to make boxplots for each water logger values on the same graph. Everywhere I checked people have a factor variable to use. However, I don't want factors, I have the water logger number as the column…
Sate Ahmad
  • 27
  • 8
1 2 3
24
25