From 133d29555675ef9a4285d3beddc4bda139579d6d Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Fri, 16 Mar 2018 15:38:04 -0700 Subject: [PATCH] black borders --> blue boxes --- src/components/expression/diffExpHeatmap.js | 44 +++++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/src/components/expression/diffExpHeatmap.js b/src/components/expression/diffExpHeatmap.js index 6488f6e5..1c8e892b 100644 --- a/src/components/expression/diffExpHeatmap.js +++ b/src/components/expression/diffExpHeatmap.js @@ -28,6 +28,7 @@ class HeatmapSquare extends React.Component { textAlign: "center", color: contrastColor, width: 40, + flexShrink: 0, fontSize: 12, margin: 0, backgroundColor: this.props.backgroundColor, @@ -91,30 +92,34 @@ class HeatmapRow extends React.Component { justifyContent: "flex-start", alignItems: "baseline", }}> -
+
X Y 🖌️ + + {this.props.aveDiff.toFixed(2)} +
) } @@ -208,13 +223,14 @@ class Heatmap extends React.Component { />
-

Gene

-

1

-

2

+

Gene

+

1

+

2

+

ave diff

{ topGenesForCellSet1.topgenes.map((gene, i) => { @@ -222,6 +238,7 @@ class Heatmap extends React.Component { key={gene} gene={gene} greyColorScale={greyColorScale} + aveDiff={topGenesForCellSet1.ave_diff[i]} set1exp={Math.floor(topGenesForCellSet1.mean_expression_cellset1[i])} set2exp={Math.floor(topGenesForCellSet1.mean_expression_cellset2[i])} /> @@ -233,6 +250,7 @@ class Heatmap extends React.Component { key={gene} gene={gene} greyColorScale={greyColorScale} + aveDiff={topGenesForCellSet2.ave_diff[i]} set1exp={Math.floor(topGenesForCellSet2.mean_expression_cellset1[i])} set2exp={Math.floor(topGenesForCellSet2.mean_expression_cellset2[i])} />