heatmap in R: Tutorial 10-Heatmap, Data Visualization using R , GGplot2, data correlation

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 48

  • @praveenthlawrance3675
    @praveenthlawrance3675 Год назад

    Thank you so much sir. You are helping a lot for my PhD

  • @hirashahzad2816
    @hirashahzad2816 3 года назад +1

    Excellent video. Very well explained in simple words n simple steps. Keep making such good videos. Im looking forward to learn . 🙂

  • @muralikrishna59
    @muralikrishna59 2 года назад

    Nice representation of bulk data.
    May be people will update their knowledge on R program Instead of using routine data analysis tools in Excel/Origin.
    Congratulations.

  • @leela2499
    @leela2499 4 года назад +2

    very well explained sir thank u

    • @DevResearch
      @DevResearch  4 года назад +2

      Thanks a lot for appreciation. Please share with your friends.

    • @leela2499
      @leela2499 4 года назад +1

      @@DevResearch sure if u share ur mail id it will be easy for me to clear my doubts

    • @DevResearch
      @DevResearch  4 года назад +1

      Thanks for appreciation. Please share with your friends.

  • @nigarmutallimova8461
    @nigarmutallimova8461 2 года назад

    Thank you sir. It was very helpful

    • @DevResearch
      @DevResearch  2 года назад +1

      Glad, you liked it. Thanks for the response. Please watch and like other videos also.

  • @rajeshlenka5894
    @rajeshlenka5894 3 года назад +1

    Great videos sir ❤️🙌

  • @alexisjose7515
    @alexisjose7515 4 года назад +1

    Excelente !!!

    • @DevResearch
      @DevResearch  4 года назад

      Thank you very much. Please share with your friends.

  • @cherryblossom__
    @cherryblossom__ Год назад

    Thank you for the video! Why did you use 256 with the terrain colors and 25 with the RColorBrewer?

    • @DevResearch
      @DevResearch  Год назад +1

      That was arbitrary choice. You choose colors as per your levels and resolution of colors you need . More colors are confusing but if the number of levels is very high , a large number of colors helps.

  • @sakshiguptasg01
    @sakshiguptasg01 4 года назад +1

    I ran the same command, however, it doesn't generate the row numbers in the matrix form as explained at 3:12

    • @DevResearch
      @DevResearch  4 года назад

      These are row numbers of the matrix. Send me the code which you are running?

  • @VinaySharma-eu6nj
    @VinaySharma-eu6nj Год назад

    Sir Can you please let me know how we can add scale of expression in heatmap

  • @ananou712
    @ananou712 Год назад

    Thank you very much sir for this useful video. Please, can you provide a code to generate the clusters in an excel file or CSV? I will really appreciate. Thanks once again.

    • @DevResearch
      @DevResearch  Год назад +1

      I will give you the code soon.

    • @ananou712
      @ananou712 Год назад

      @@DevResearch thank you for your reply. I will expect the code. Many thanks

  • @AmitKumar-cc3ze
    @AmitKumar-cc3ze 3 года назад

    Is there any way to find out the list of genes in a cluster?

  • @KamalSingh-dn7gv
    @KamalSingh-dn7gv 4 года назад

    Nice Rajendra. I have another question that is related to ggmsa. can you please help me. Thanks

    • @DevResearch
      @DevResearch  4 года назад

      It's a visulisation package. Needs alignment file in fasta format. Can customise color scheme and fonts. Can be combined with tree. Is there any other specific thing you want?

    • @KamalSingh-dn7gv
      @KamalSingh-dn7gv 4 года назад

      @@DevResearch hi Rajendra hi. Thanks. Yes, I do have something specific. Can I send you an email. My email is singhka@missouri.edu. Thanks- Kamal

    • @DevResearch
      @DevResearch  4 года назад

      Yes please mail me. My id is rajuchoure@gmail.com.

    • @KamalSingh-dn7gv
      @KamalSingh-dn7gv 4 года назад

      @@DevResearch Rajendra JI, I just sent you an email from my work account. Thank you very much for your help.

  • @liferesearchvlog7048
    @liferesearchvlog7048 4 года назад

    Could you please teach how to annotation in both row and column?

    • @DevResearch
      @DevResearch  4 года назад

      Yes I will. Very soon will do that.

  • @habibali2380
    @habibali2380 2 года назад

    Sr why everyone don't share high resolution save (heatmap) ?
    Plz help me

    • @DevResearch
      @DevResearch  2 года назад

      png("heatmap.png", width = 1700,height = 1700)
      heatmap(as.matrix(iris[1:4]),scale="column",cexRow = 2,cexCol = 2)
      dev.off()
      Increased resolution as height and width, results in reduced size of text. Use cex=2 or 3 to make text size suitable for the size.

    • @habibali2380
      @habibali2380 2 года назад

      @@DevResearch thank you thank you very much . Its worked ❤️❤️🌹

  • @hakankibar5421
    @hakankibar5421 Год назад

    How can I make a two-dimensional correlation heatmap in r studio.

    • @DevResearch
      @DevResearch  Год назад

      cor_val

    • @hakankibar5421
      @hakankibar5421 Год назад

      @@DevResearch As a result of the analysis, there is no legend in the heatmap. How can I create it.

    • @DevResearch
      @DevResearch  Год назад

      @@hakankibar5421
      library("pheatmap")
      pheatmap(scale(mtcars), cutree_rows = 4)

    • @hakankibar5421
      @hakankibar5421 Год назад

      @@DevResearch Thank you

  • @zeinabourhane874
    @zeinabourhane874 3 года назад

    Dear Dr, i would like to ask how can i include p-value in each cell ?

    • @DevResearch
      @DevResearch  3 года назад

      Each cell of heatmap?

    • @zeinabourhane874
      @zeinabourhane874 3 года назад

      @@DevResearch each case in the map

    • @DevResearch
      @DevResearch  3 года назад

      Yes. If you have matrix of p values of correlations, you can use geom tiles. And using label mapped to p values, can have geom text.

    • @DevResearch
      @DevResearch  3 года назад

      x

  • @rajeshsarda4669
    @rajeshsarda4669 2 года назад

    Sir, how to add legend for the Heat map? please provide code for add the legend

    • @DevResearch
      @DevResearch  2 года назад

      df=as.matrix(mtcars)
      #2. Now plot heatmap.
      heatmap(df)
      #4. You can scale it to normalise data
      heatmap(df, scale="column", Colv=NA)
      # Plot a corresponding legend
      legend(x="topright",
      y= "top", legend=c("min", "med", "max"),fill=heat.colors(3))
      Try above one. I tried this on my android phone. If yiu need more sophisticated approach using other packages, lete know.