Plotting in R for Biologists -- Lesson 8: Heatmaps

Поділитися
Вставка
  • Опубліковано 19 жов 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.

  • @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!

  • @tavlingaroundeurope2243
    @tavlingaroundeurope2243 7 років тому +4

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

  • @brazilfootball
    @brazilfootball 3 роки тому

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

  • @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

  • @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" .

  • @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.

  • @brazilfootball
    @brazilfootball 3 роки тому

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

  • @pasha7293
    @pasha7293 5 років тому

    Thanks for all the videos you've created

  • @ishymutanda
    @ishymutanda 7 років тому

    Great tutorial Maria, simple and easy. Thanks

  • @rashidminhas5066
    @rashidminhas5066 3 роки тому

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

  • @biswajitbiswas2960
    @biswajitbiswas2960 3 роки тому

    How to change the colourscheme?

  • @govardhanbale
    @govardhanbale 3 роки тому

    Please make a video on whole exome data Visualization

  • @jeffreychiu8744
    @jeffreychiu8744 3 роки тому

    This is immensely useful. Thank you so much.

  • @孟海-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

  • @arsheedganaie6296
    @arsheedganaie6296 6 років тому

    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?

  • @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. 🙏

  • @madhusukumaran9795
    @madhusukumaran9795 5 років тому

    Nice work Maria, Thank you.

  • @rayman2704
    @rayman2704 5 років тому

    You are so good. Thank you Maria!!!

  • @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 . 🥰

  • @niloofaravazpour1432
    @niloofaravazpour1432 4 роки тому

    Thank you so much Maria!

  • @marcelozerillo3551
    @marcelozerillo3551 3 роки тому

    excelent lecture! Thanks!

  • @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...

  • @Gresarai
    @Gresarai 6 років тому

    Thanks for all the lessons! :)

  • @IanMahetiMbano
    @IanMahetiMbano 6 років тому

    Thank you Maria

  • @neenie2543
    @neenie2543 6 років тому

    Very helpful . Thanks

  • @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.

  • @joshydev-gs4jm
    @joshydev-gs4jm Рік тому

    Will see and comment

  • @km2052
    @km2052 5 років тому

    thx