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...
20 авг 2024