COMPLETE SURVIVAL ANALYSIS tutorial in R: Kaplan-Meier, Cox regression, Forest Plots...

  Рет қаралды 6,559

Biostatsquid

Biostatsquid

Күн бұрын

In this tutorial, I will explain how to perform survival analysis in R, including log rank test, Cox regression, Kaplan-Meier curves, and more! We will use the R packages ggsurvplot, survminer and survival. You will learn how to:
- plot a Kaplan Meier curve
- test for differences between groups using the log rank test
- build a survival model with Cox regression
- and visualise your results with a forest plot.
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 package listed above.
Hope you like it!
biostatsquid.c...
--------------------------------------------------------------------------------------------------------------------
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:)
If you like my content and would like to support me (in a more capitalistic manner), you might consider buying me a coffee.
www.buymeacoff...
Big thanks for your support!
--------------------------------------------------------------------------------------------------------------------
Are you into biostatistics and computational analysis?
For more biostatistics tools and resources, you can visit:
biostatsquid.com/
Follow me on Instagram at @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 survival analysis:
Easy R tutorial: www.sthda.com/e...
More on survival curves: www.ibm.com/do...

Пікірлер: 14
@biostatsquid
@biostatsquid 9 ай бұрын
Find all the code used in this tutorial here: biostatsquid.com/easy-survival-analysis-r-tutorial/
@ZaguY06
@ZaguY06 2 ай бұрын
Thank you so much for this video! I have a question regarding the forest plot of the cox regression, can we add the global p-value (summary) to the forest plot? is there any way? I would appreciate your help with this!
@biostatsquid
@biostatsquid 2 ай бұрын
Hey! Thanks for your comment, I'm glad it was useful:) The global p-value should be already there, in the bottom of the plot. If you'd like it somewhere else, you can easily extract it from the object as a variable (assign it to gloabl_p_val or similar), and then use annotate() as you would to annotate a ggplot object! Hope this helps:)
@hamzavanderross1235
@hamzavanderross1235 6 ай бұрын
Thanks! This is really helpful!
@ArezouRahimi
@ArezouRahimi 26 күн бұрын
Hi I have this error Error in `GetAssayData()`: ! GetAssayData doesn't work for multiple layers in v5 assay. Backtrace: 1. Seurat::IntegrateData(...) 2. Seurat:::PairwiseIntegrateReference(...) 5. SeuratObject:::GetAssayData.Seurat(object = object.1, slot = "data") 7. SeuratObject:::GetAssayData.StdAssay(object = object[[assay]], layer = layer) with this code combined_seurat
@biostatsquid
@biostatsquid 18 күн бұрын
Hi - that's probably because you are using Seurat v5, instead of v4 (which is the one I use). You can either use v4, or use LayerData() function if you would like to stick with v5 - check this: github.com/satijalab/seurat/issues/8304
@evissima107
@evissima107 Ай бұрын
This squid's videos help me a LOT during my PhD. It saves me so much time. Thank you so much for uploading this content!! Keep it up!! I'm another biostatsquid fan :)
@ThomasMcDonnell-x3f
@ThomasMcDonnell-x3f 7 ай бұрын
This is fantastic! You're a great teacher. Please could you do logistic regression and ROC analysis next?
@reregad590
@reregad590 3 ай бұрын
This was very helpful, your way of teach just keep me engaged and understanding, thanks ❤
@alex146
@alex146 7 ай бұрын
Actually a really good video and the channel!
@biostatsquid
@biostatsquid 7 ай бұрын
Thank you!
@sanjaisrao484
@sanjaisrao484 5 ай бұрын
Thank you very much, You are amazing
@biostatsquid
@biostatsquid 5 ай бұрын
Thank you! Glad it was useful:)
@ipgrulles
@ipgrulles 6 ай бұрын
thank you
Step-by-step heatmap tutorial in R with pheatmap()
24:57
Biostatsquid
Рет қаралды 10 М.
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 23 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 40 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
How to interpret KAPLAN-MEIER curves - Easily explained!
9:41
Biostatsquid
Рет қаралды 14 М.
Kaplan-Meier Curves and Log-rank Test - [Survival Analysis 4/8]
36:40
God Equation in Machine Learning (& Physics)
9:26
CompuFlair
Рет қаралды 1 М.
Pathway Enrichment Analysis plots: easy R tutorial
24:35
Biostatsquid
Рет қаралды 9 М.
The Cox proportional hazards model explained
13:36
TileStats
Рет қаралды 18 М.
Survival analysis with TCGA data in R | Create Kaplan-Meier Curves
43:50
Bioinformagician
Рет қаралды 18 М.
Survival Analysis [Simply Explained]
12:58
DATAtab
Рет қаралды 102 М.