How to create a violin plot with ggplot2 in R with geom_violin and geom_dotplot (CC092)

  Рет қаралды 15,475

Riffomonas Project

Riffomonas Project

Күн бұрын

Пікірлер: 17
@Riffomonas
@Riffomonas 3 жыл бұрын
Violin plots - meh. or MORE!!!
@oscarrosalescorzo
@oscarrosalescorzo Жыл бұрын
I always use your videos to learn. Your content allows me to go the extra mile in the quality of the work I do. Thanks!!
@bridgettsmith7206
@bridgettsmith7206 2 жыл бұрын
Thank you for this thorough explanation
@Riffomonas
@Riffomonas 2 жыл бұрын
Glad it was helpful!🤓
@cyg7655
@cyg7655 2 жыл бұрын
I find combining a boxplot within a violin plot is a good solution, "ggridges" can be good to compare distributions too.
@Riffomonas
@Riffomonas 2 жыл бұрын
Thanks for watching!
@nicolasberiot2176
@nicolasberiot2176 3 жыл бұрын
Thanks for the video! For me violin are great when you want to say something about different distributions but in most cases you are interesting in comparing the mean or median so boxplots would be better.
@Riffomonas
@Riffomonas 3 жыл бұрын
right on!
@stevienix7905
@stevienix7905 2 жыл бұрын
Always awesome. I do have to watch a few times (stacked bar plots, hadn't done the prior tutorials tho...Still awesome
@Riffomonas
@Riffomonas 2 жыл бұрын
Thanks!
@oluwaseyeoladele5533
@oluwaseyeoladele5533 Жыл бұрын
Thanks for this, found it really helpful. Quick question please, is it possible to plot a violin plot with individual data points and also add the mean as a crossbar or in other geom forms? thanks ahead
@carllessard9500
@carllessard9500 2 жыл бұрын
Great video and critics on the violin plot. What about merging the boxplot with the violin? It may help a reader to improve the visualization of the distribution of the data. Just my two cents comment
@Riffomonas
@Riffomonas 2 жыл бұрын
Thanks Carl! Ehhh I think that would be pretty busy and not much of an improvement
@bridgettsmith7206
@bridgettsmith7206 2 жыл бұрын
That is what I was thinking. Maybe it would be too busy though
@aleksandrarzamasov2421
@aleksandrarzamasov2421 3 жыл бұрын
Thank you for the video! I don't always get why violin plots are considered visually intuitive. They do look great when data is normally distributed. However, it becomes a bit hard to compare violins plots for distributions like in the video example. Btw, I am curious, is there an "optimal" way to visualize count matrices to emphasize clustering (in my case, binary matrices and matrices with small count numbers, e.g., distribution of specific genes across bacterial genomes)? I've seen people mostly doing heatmaps and sometimes PCA plots, but still curious what way is considered the best.
@Riffomonas
@Riffomonas 3 жыл бұрын
Thanks, Aleksandr! Yeah, I'm not sure why they're so popular either ;) Something I've seen people do is to combine a heat map with dendrograms on either or both margins to show which samples or taxa/genes cluster together by similarity or co-occurence
@xxXXCarbon6XXxx
@xxXXCarbon6XXxx 3 жыл бұрын
Box plot is the clear win, however sometimes entertainment trumps information. I'd never use one in a paper but maybe for a team talk I would use one (assuming a box plot wasn't available)
Creating a barplot with error bars using ggplot2 (CC088)
22:18
Riffomonas Project
Рет қаралды 12 М.
Deadpool family by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 7 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 19 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 55 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 100 МЛН
Advanced ggplot  - using facets
7:37
R Programming 101
Рет қаралды 10 М.
Showing groups on a scatter plot for an ordination using ggplot2 (CC079)
30:32
violin plots should not exist
42:15
Angela Collier
Рет қаралды 210 М.
Bar Charts with {ggplot2}
13:38
yuzaR Data Science
Рет қаралды 6 М.
Deadpool family by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 7 МЛН