Step-by-step heatmap tutorial in R with pheatmap()

9,315
0
2023-05-20に共有
In this tutorial, we will learn how to create and customise a heatmap to visualise our differential gene expression analysis results. We will use the R package pheatmap() which gives us great flexibility to add annotations to the rows and columns, and we will cover many different ways of customising the 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 pheatmap package.
Hope you like it!

Code explained: biostatsquid.com/step-by-step-heatmap-tutorial-wit…
--------------------------------------------------------------------------------------------------------------------
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:
www.instagram.com/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 heatmaps:
Some additional slides and tips when creating a heatmap: acikders.ankara.edu.tr/plugin...
Don't want to code? You can easily create your publication-ready heatmaps with this RShiny App:
shinyheatmap.com/

コメント (18)
  • Hi, thanks for your video! Do you know how to italicize the x and y labels (for example, the gene names)? Could you please help me with that?
  • Fantastic video! I've been searching for a way to do this for hours and then you gave me almost all answers! Big thank you!
  • I love pheatmap!! is my number one choice everytime I want to do heatmaps ! Thanks for the video 🥰
  • Such a nice and informative video, you should do more for sure it is great and amazing
  • I have a question that is off topic, but id be interested to hear your opinion. Its about the metric system; what do you yhink about the kilogram being replaced by the metric pound? The metric pound is equal to half a kilo making it 10% heavier than an imperial pound. So the benefit would be twice the predecimal precision of the kilo while still being utilizable in the metric system. Also, its currently used as an informal unit in Germany and the Netherlands.
  • Thank you a lot! I'm struggling with my data. is there any option to create a clustering within a group on the same heatmap? I have many groups of species I want to analyze but I just want the clustering only within the same group.
  • @mostafanazmi
    Annotation-col is not working, how do i solve it?
  • Hi! Thanks for this informative video. I'm curious to know if there's an option to set x-axis labels (text labels for columns) from bottom to top.
  • @amazai
    Thanks for the kind tutorial. The fonts in the video are not very clear. try to upload HD video