Gene Set Enrichment Analysis (GSEA) with fgsea - easy R tutorial

  Рет қаралды 7,249

Biostatsquid

Biostatsquid

10 ай бұрын

In this tutorial, I will explain how to perform gene set enrichment analysis on your differential gene expression analysis results. We will use the R package fgsea() and you will learn how to:
- Install and start fgsea()
- Prepare your dataset to perform GSEA
- Set the analysis parameters and run the analysis.
- View the GSEA results and get some nice plots!
And as always, you can find the code I am using in this tutorial at biostatsquid.com, where you can also find a step by step explanation of the code. For this tutorial you will need R, or Rstudio, and you will need to install the fgsea() package.
Hope you like it!
biostatsquid.com/fgsea-tutori...
--------------------------------------------------------------------------------------------------------------------
Watched it already?
If you liked this video or found it useful, please let me know! Your comments and feedback are very much appreciated😊
If you have questions, don't hesitate to leave me a comment down below, I will answer as soon as I can:)
--------------------------------------------------------------------------------------------------------------------
Are you into biostatistics and computational analysis?
For more biostatistics tools and resources, you can visit:
biostatsquid.com/
Follow me on Instagram at @biostatsquid:
/ biostatsquid
For more
• simple and clear explanations of biostatistics methods
• computational biology tools
• easy step-by-step tutorials in R and Python
to analyse and visualise your biological data!
Don’t forget to subscribe if you don’t want to miss another video from me! --------------------------------------------------------------------------------------------------------------------
Other interesting resources for pathway enrichment analysis:
Other interesting resources for GSEA:
Main GSEA webpage: www.gsea-msigdb.org/gsea/inde...
More on the method itself: www.pnas.org/doi/10.1073/pnas...
Paper comparing pathway enrichment analysis methods: www.nature.com/articles/s4159...
Music from #Uppbeat (free for Creators!):
uppbeat.io/t/pecan-pie/east-s...
License code: 80ZOLNQ8NSDSWKFV

Пікірлер: 12
@huiminlu8436
@huiminlu8436 Ай бұрын
I am with zero experience, and failed so many times by following youtubers, you script works and I can easily catch up, even different methods. Thankyou sooooooooomuch.
@joeyoviedo5202
@joeyoviedo5202 9 ай бұрын
Another great video! Thank you Biostatsquid, see ya in the next one!
@Muuip
@Muuip 10 ай бұрын
Great concise tutorial! Much appreciated!👍
@juliangrandvallet5359
@juliangrandvallet5359 8 ай бұрын
Excellent tutorial, thank you!
@h1bB0ilzZ
@h1bB0ilzZ Ай бұрын
Many thanks for this video. It was extremely helpful! Just a quick question, do you have a link to any papers that use the same method for ranking genes? I've gone for the same approach, but will need to defend it in my viva and I am struggling to find publications using this method. Secondly, I just want to confirm that you use regular p-values rather than adjusted p-values for the ranking calculation?
@Diezytell
@Diezytell 6 ай бұрын
Thank you for the nice tutorial, I have two questions: 1/ From the Github-page of fgsea (issue #131 'Which genes should I use"), the developer seems to mention that fgsea automatically extracts background genes from the sorted input vector. You use this custom function to filter the pathways yourself. I ran both options (i.e. once without filtering and once with filtering) and results are very comparable, but NES-values and P-values are not exactly the same. Would you still recommend using the function? 2/ To rank genes, you use (df$log2FC)*(-log10(df$PValue)). Do you have any references to the use of this formula? One of the developers advises to use the test-statistic to rank (i.e. t column from limma and stat column from DESeq2). I have also seen ranking be done based on log2FC. Why do you advise this formula? Thank you.
@biostatsquid
@biostatsquid 6 ай бұрын
Hi, thanks so much for your comment, two very good questions. 1. I wasn't aware that fgsea already filters out genes from the gene sets - not sure if the comment you referred to means that, I would need to check the methods or the fgsea funtion itself to confirm this. But thanks so much for asking and letting me know! Once I check it I'll post it:) In case you want to read about this filtering, this recent article covers the topic. genomebiology.biomedcentral.com/articles/10.1186/s13059-015-0761-7 2. You're totally on point, I've also seen different methods. I guess I'd rather go for a combination of both because I want to rank them also by significance, not only fold change. But again, depends on your project and what you're looking for. I think I shared a paper already on my blogpost which recommends this ranking method - www.ncbi.nlm.nih.gov/pmc/articles/PMC3957066/
@jessehines4044
@jessehines4044 10 ай бұрын
Perhaps you didn't know, but now there's a software platform called RNAlysis that is highly modular and contains a graphical user interface so that you can interrogate any RNA based research question and never have to write a single line of code.
@davidguardamino
@davidguardamino 8 ай бұрын
A prebuilt software will never have the flexibility of coding. Said this, maybe for entry level is just fine... but in real research you may need to explore different settings to get the best results.
@synatkeam5597
@synatkeam5597 10 ай бұрын
Can you please put your all your code?
@biostatsquid
@biostatsquid 9 ай бұрын
Hi! Yes of course, you can find it here: biostatsquid.com/fgsea-tutorial-gsea/
@shazmcgee2008
@shazmcgee2008 8 ай бұрын
Promo`SM 😳
Pathway enrichment analysis tutorial in R with clusterProfiler()
18:59
Gene Set Enrichment Analysis (GSEA) - simply explained!
8:14
Biostatsquid
Рет қаралды 25 М.
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 41 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
Gene set analysis - GSEA and Fisher's exact test
14:55
TileStats
Рет қаралды 6 М.
Pathway enrichment analysis - simple explanation!
12:53
Biostatsquid
Рет қаралды 19 М.
Gene Set Enrichment Analysis| GSEA algorithm
18:09
LiquidBrain Bioinformatics
Рет қаралды 14 М.
3 ways to convert Ensembl IDs to gene symbols | Bioinformatics 101
20:25
Bioinformagician
Рет қаралды 21 М.
Lollipop Graph using ggplot.
10:53
R Programming 101
Рет қаралды 6 М.
Ggsave - save your ggplot plots
3:41
R Programming 101
Рет қаралды 5 М.
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН