How to create a relative abundance barplot with ggplot2

  Рет қаралды 16,214

Sur

Sur

2 жыл бұрын

This video was created for the 2022 SFSU Science Coding Immersion Program (SPIC).
It shows how to create barplot showing relative abundances of bacteria with ggplot2 and other tidyverse functions in the R programming language.
More details can be found in the associated GitHub repository:
github.com/surh/scip_barplot

Пікірлер: 22
@user-zc6bv8ej9g
@user-zc6bv8ej9g Жыл бұрын
Thank for the vdo. Please keep this type of tutorial vdo coming.
@user-dp7fj5qd1d
@user-dp7fj5qd1d 8 ай бұрын
Thank you for your teaching and sharing. It helps me a lot. Really appreciate.
@sofiahernandezvivar6893
@sofiahernandezvivar6893 Жыл бұрын
Thank you so much for this video!! so clear
@safiyayakubu2219
@safiyayakubu2219 3 ай бұрын
Amazing video. Thank you for sharing. Please make more of these videos on microbiome analyses. e.g beta diversity, pcoa, NMDS, community heat map, serial group comparisons etc
@gustavsloris
@gustavsloris 10 ай бұрын
amazing, thank you! combining all the metabarcoding data in one large table and visualizing with ggplot is much more handy to work with than phyloseq. best regards :)
@cristianjaviermena6955
@cristianjaviermena6955 Жыл бұрын
Gracias por este video hermanoo!! no tiene abuela este cientifico!!!
@playstation4nobplayer892
@playstation4nobplayer892 Ай бұрын
Thank you for your video, and I really enjoy and successfully plotted the graph through the tutorial. Anyway, if I apply it to the real work, I would like to know how you calculated the aboundancy %?
@ginalaspada3521
@ginalaspada3521 Жыл бұрын
😃thank you
@grazieleruas
@grazieleruas 6 ай бұрын
Gracias
@meseretmuche6984
@meseretmuche6984 7 ай бұрын
remarkable lecture Dear Dr, please share us if you have video lecture related to indicator species analysis in r
@sunirmalsheet9544
@sunirmalsheet9544 2 ай бұрын
Thank you for your video. Could you tell the how to get the mean abundence percentage table?
@amrsalaheldinabdallahhammo663
@amrsalaheldinabdallahhammo663 Жыл бұрын
How to plot the relative abundance of the most abundant genera (with a mean relative abundance > 1% in all samples? please
@rishikeshdash12
@rishikeshdash12 9 ай бұрын
Can you tell me which package can be used for prevalence calculation for Microbiome Data.
@gamraoueslati6914
@gamraoueslati6914 7 ай бұрын
Thank you for the video. I just would love to know who you imported the data, and if it should be tsv format? Thanks
@sur9362
@sur9362 7 ай бұрын
All the data and code is the github repo github.com/surh/scip_barplot The data is in tsv format so I used the read_tsv function of the readr package
@TheSalinascrime
@TheSalinascrime Жыл бұрын
How were you able to obtain the mean abundance to be able to reorder the Phylum?
@sur9362
@sur9362 Жыл бұрын
There is more than one way to do it. You can see how I did it in the extended_example.Rmd file of the GitHub repo. Or go to this link github.com/surh/scip_barplot/blob/a775e0d97b47e8dd40498b6713016bbb7e045003/extended_example.Rmd#L285-L301
@justicetresorngomngom6822
@justicetresorngomngom6822 5 ай бұрын
Hi Thank you for your video, please i would like to know the metagenomic analysis tool that you used and why your OTU ID are coded because mine are long numeric number and i used QIIME2
@sur9362
@sur9362 5 ай бұрын
the OTUs and samples are subset of the data from this paper (www.nature.com/articles/nature11237), we built the OTUs with usearch
@abimbolaenitan129
@abimbolaenitan129 8 ай бұрын
How can I get the diversity based on this?
@dianamamawal4664
@dianamamawal4664 10 ай бұрын
Hi what if i have 50 legends? Cannot do it with rcolorbrewer and rainbow color is not that presentable.
@sur9362
@sur9362 10 ай бұрын
I'm general it is not a good idea to represent that many levels with color, the human eye and brain just can't distinguish that many times. Ten is already pushing it and that is my common limit. You should think how to group those 50 levels in a meaningful way. If you really need to show 50 different groups (which generally you don't) then this type of barplot is not the right plot.
Field Ecology - Diversity Metrics in R
15:20
Alison Styring
Рет қаралды 14 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 118 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 127 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 20 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 76 МЛН
sdm R package: species distribution modelling
56:56
Biogeoinformatics
Рет қаралды 27 М.
How to turn data into stories
50:43
storytelling with data
Рет қаралды 237 М.
Simulating the Evolution of Rock, Paper, Scissors
15:00
Primer
Рет қаралды 600 М.
Creating a stacked barchart in R with ggplot2 (CC102)
22:19
Riffomonas Project
Рет қаралды 32 М.
16s rRNA Sequencing Analysis and Visualization
43:36
LiquidBrain Bioinformatics
Рет қаралды 14 М.
Tutorial on using adonis from the vegan R package (CC081)
33:38
Riffomonas Project
Рет қаралды 34 М.
Longitudinal analyses
29:31
QIIME 2
Рет қаралды 2,6 М.
Мой инст: denkiselef. Как забрать телефон через экран.
0:54
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 3,1 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 883 М.
Как слушать музыку с помощью чека?
0:36