Plotting in R for Biologists -- Lesson 8: Heatmaps

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

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

  • @karinahajdu1869
    @karinahajdu1869 4 года назад +7

    I was having some trouble following along because I kept getting an error "Unused argument" when trying to run " row_hclust_side = ..." and then I changed it to "row_dend_side" and "row_dend_width" and now it works. I guess the arguments names have changed in newest versions. I am using R 4.0 and latest ComplexHeatmap version downloaded today :)

    • @MariaNattestad
      @MariaNattestad  4 года назад +3

      Thanks for posting after you figured it out! I'm pinning this to the top and adding a note to the description :)

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

      @@MariaNattestad Of course! Thank you for the tutorial :)

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

      @@MariaNattestad Thank you thank you thank you, you're a bless!!

  • @nicholasminster3421
    @nicholasminster3421 6 лет назад +6

    I recommended this channel to all my classmates at GMU, B.S. Bioinformatics
    Thanks for the great tutorial.

  • @lcjwalter
    @lcjwalter 6 лет назад +6

    Hey great video! I’m doing my postdoc and I’m trying to learn bioinformatics and your videos are so helpful! Thanks for sharing your knowledge!

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

    Thank you so much for actually showing the data structure at the beginning.

  • @tavlingaroundeurope2243
    @tavlingaroundeurope2243 7 лет назад +4

    its really help full for me to understand how to draw a heat map in R thank you Maria Nattestad

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

    This may be old and some of the code my be updated (regarding clustering), but this is easily the best heatmap tutorial I have found anywhere.

  • @pburet
    @pburet 7 лет назад +2

    Thank you for your series. Lots of good examples and this is a great way to get comfortable with ggplot.

    • @MariaNattestad
      @MariaNattestad  7 лет назад

      Glad to hear that! There's more over on the OMGenomics channel where I'm posting new videos these days, so make sure to check that out when you get a chance!

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

    I really liked this video. It is so easy to follow with a clear motive.

  • @joshymole
    @joshymole 7 лет назад

    Thank you so much Maria, your tutorial was very straight forward and easy to understand.

  • @蜗牛黎明
    @蜗牛黎明 7 лет назад

    Thank you for your series, your tutorial was very straight forward and easy to understand.

  • @ishymutanda
    @ishymutanda 7 лет назад

    Great tutorial Maria, simple and easy. Thanks

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

    Just finished the 8 lessons in 2021 (am late to the party, i know haha) and feel pretty confident about tackling my own projects! Thanks so much!!

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

      hey ,my friend! Have you met this error
      "annotations should have names"
      When i run the last list of code
      "Heatmap(my_matrix,
      cluster_columns=FALSE,
      row_names_side = "left",
      row_dend_side = "left",
      row_names_gp=gpar(cex=fontsize),
      row_dend_width = unit(3, "cm"),
      clustering_distance_rows ="maximum",
      clustering_method_rows = "ward.D",
      km=2, # number of clusters you want
      bottom_annotation = HeatmapAnnotation(chromosome_info,col = list(chrom=chromosome.colors),show_legend=FALSE)
      )"
      , it always tell me "annotations should have names" .

  • @pasha7293
    @pasha7293 5 лет назад

    Thanks for all the videos you've created

  • @1337lalaland
    @1337lalaland 4 года назад

    very clear explanation! nice video! I got one question: which distance method would you use with log2FC or raw(but scaled) values? many thanks

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

    Please make a video on whole exome data Visualization

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

    This is immensely useful. Thank you so much.

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

    Thank you so much Maria!

  • @madhusukumaran9795
    @madhusukumaran9795 5 лет назад

    Nice work Maria, Thank you.

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

    Anyone know if "Complexheatmap" are going to incorporate "Bray-Curtis" distance calculations soon??

  • @rayman2704
    @rayman2704 5 лет назад

    You are so good. Thank you Maria!!!

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

    How do you set the heatmap to use Bray-Curtis method and do you have to scale your data before plotting?

  • @IanMahetiMbano
    @IanMahetiMbano 6 лет назад

    Thank you Maria

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

    excelent lecture! Thanks!

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

    "annotations should have names"
    When i run the last list of code
    "Heatmap(my_matrix,
    cluster_columns=FALSE,
    row_names_side = "left",
    row_dend_side = "left",
    row_names_gp=gpar(cex=fontsize),
    row_dend_width = unit(3, "cm"),
    clustering_distance_rows ="maximum",
    clustering_method_rows = "ward.D",
    km=2, # number of clusters you want
    bottom_annotation = HeatmapAnnotation(chromosome_info,col = list(chrom=chromosome.colors),show_legend=FALSE)
    )"
    , it always tell me "annotations should have names" . Does anyone else also has the error????

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

      See updates in description.

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

      @@MariaNattestad Thanks, i will try to solve it. Looking forward for more courses from you . 🥰

  • @Gresarai
    @Gresarai 6 лет назад

    Thanks for all the lessons! :)

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

    I am unable to download the data. Could you please help me to download it.
    Thanks

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

    How to change the colourscheme?

  • @孟海-q8u
    @孟海-q8u 6 лет назад

    Hi Maria, thank you for series. i want to know how to get these Code, data, and video? Thank you!

    • @MariaNattestad
      @MariaNattestad  5 лет назад

      the link is in the description: marianattestad.com/blog

  • @joshydev-gs4jm
    @joshydev-gs4jm Год назад

    Will see and comment

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

    Hey! very impressive video and easy to understand. I found it very difficult to use. Can you please tell me how can i use ComplexHeatmap package in R. I have downloaded from the bioconductor bt can't found in the library of R. Please help me asap. Thank you.

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

      It's in the script I'm showing in the video at 1:41. If anything there is outdated, check the Bioconductor website for the latest installation information: www.bioconductor.org/install/

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

      Can you please tell me how can I normalize my gene expression dataset that I have downloaded from the GEO database. Please respond me asap. I need detailed information about the script and packages used for the normalization.

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

      Please help me. 🙏

  • @neenie2543
    @neenie2543 6 лет назад

    Very helpful . Thanks

  • @arsheedganaie6296
    @arsheedganaie6296 7 лет назад

    Hi Maria Nattestad, I was trying from last 2 days to do the Lesson-08/copy_number for r plots. But unfortunately i was not able to load the data. I got stuck their. here i am posting the command line
    > filename

    • @kylybauer2053
      @kylybauer2053 6 лет назад

      Are you in the correct working directory?

  • @experiences556
    @experiences556 5 лет назад

    Hi
    Thank you for the nice video:
    I just face an error at the very end - Error: annotations should have names.
    Could you please give a look to the following? What is wrong with this?
    Heatmap(my_matrix,
    + cluster_columns=FALSE,
    + row_names_side = "left",
    + row_dend_side = "left",
    + row_names_gp=gpar(cex=fontsize),
    + row_dend_width = unit(3, "cm"),
    + clustering_distance_rows ="maximum",
    + clustering_method_rows = "ward.D",
    + km=2, # number of clusters you want
    + bottom_annotation = HeatmapAnnotation(chromosome_info,col = list(chrom=chromosome.colors),show_legend=FALSE)
    + )
    Error: annotations should have names.

    • @81barley
      @81barley 5 лет назад

      I am getting the same error - any luck with it ?

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

      I am getting the same error, i cannot get around it at all...

  • @km2052
    @km2052 5 лет назад

    thx

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

    HI Maria, thank you so much for your videos, it is so helpful for me, just I have a small question concern the last part of this video
    Heatmap(my_matrix,
    cluster_columns=FALSE,
    row_names_side = "left",
    row_dend_side = "left",
    row_names_gp=gpar(cex=fontsize),
    row_dend_width = unit(3, "cm"),
    clustering_distance_rows ="maximum",
    clustering_method_rows = "ward.D",
    km=2, # number of clusters you want
    bottom_annotation =HeatmapAnnotation(chromosome_info,names,col=list(chrom=chromosome.colors), show_legend=FALSE)
    )
    I got that as a message
    Error: annotations should have names.
    someone can help with that
    Thanks again

    • @Teresa-xt8oi
      @Teresa-xt8oi 4 года назад

      I face the same error! Have you already figures out the problem?
      I would really appreciate your help!! =)

    • @Teresa-xt8oi
      @Teresa-xt8oi 4 года назад +2

      Hi, I have now figured out the code:
      Heatmap(my_matrix,
      cluster_columns=FALSE,
      row_names_side = "left",
      row_dend_side = "left",
      row_names_gp=gpar(cex=fontsize),
      row_dend_width = unit(3, "cm"),
      clustering_distance_rows ="maximum",
      clustering_method_rows = "ward.D",
      km=2, # number of clusters you want
      bottom_annotation = HeatmapAnnotation(df = chromosome_info, col = list(chrom=chromosome.colors), show_legend=FALSE))
      You have to assign chromosome_info as dataframe!
      Best,
      Teresa

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

      @@Teresa-xt8oi no ... that gets an error too "Error: number of observations in bottom anntotion should be as same as
      ncol of the matrix."

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

      @@Teresa-xt8oi Thank you for this solution, I had the same error.