Unconfigured Ad

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

    #1

    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

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...