Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ashuchawla
    Member
    • Jan 2012
    • 38

    legend for heatmaps

    I am trying to create a heat map of genes with log2foldchange values. Following is my code,

    pdf("fold_change_heatmap_top_100.pdf" , height=20, width=15)
    x <- as.matrix(fold_change_genes[fold_change_genes$gene %in% top_100 , c(2,3,4)])
    heatmap(x, margins = c(6,6) , cexCol=2 )
    dev.off()

    But I cannot see the legend for this plot. I am not sure how draw that..Could anyone please help me? I cannot use gplots::heatmap.2 as it is not installed on the cluster I am working on yet. Please suggest something.

    Thanks,
    Ashu
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    legend for heatmaps

    have you tried typing '?heatmap' to get the help page for
    the R function heatmap.

    That should give you a list of the parameters you can use with heatmap().

    Comment

    • ashuchawla
      Member
      • Jan 2012
      • 38

      #3
      Yes I have and it doesnt tell me anything

      Comment

      • paolo.kunder
        Member
        • Aug 2011
        • 93

        #4
        why don't you try

        heatmap.2 in library gplots
        Last edited by paolo.kunder; 07-31-2013, 07:59 AM.

        Comment

        • jp.
          Senior Member
          • Jul 2013
          • 142

          #5
          can somebody answer this trouble, please?
          Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            Yesterday, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 10:04 AM
          0 responses
          10 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Working...