src/hg/instinct/hgHeatmap2/drawingCode.c 1.75

1.75 2009/10/05 21:32:30 jzhu
add code doc for modified drawing code
Index: src/hg/instinct/hgHeatmap2/drawingCode.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/hgHeatmap2/drawingCode.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -b -B -U 4 -r1.74 -r1.75
--- src/hg/instinct/hgHeatmap2/drawingCode.c	5 Oct 2009 19:47:53 -0000	1.74
+++ src/hg/instinct/hgHeatmap2/drawingCode.c	5 Oct 2009 21:32:30 -0000	1.75
@@ -2553,10 +2553,11 @@
 	    }
 	else
 	    hm = el->val;
 
-	/* total kludge to get number of sites in a pixel in chromosome view 
-	 * assumes that a pixel doesn't have two identically sized genes */
+	/* the score field is the number of sites used to derive mutation per site
+	 * if you want to have mutation per site per sample, use the score field
+	 * if you do not want to normalized against the size of the gene, set score =1 or 0 */
 	int score = nb->score;
 	if (score == 0)
 	    score = 1;