mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 11:58:12 +08:00
flip scale
This commit is contained in:
@@ -167,7 +167,7 @@ class Column extends React.Component {
|
|||||||
const columnColorScale = d3
|
const columnColorScale = d3
|
||||||
.scaleLinear()
|
.scaleLinear()
|
||||||
.domain(d3.extent(Object.values(meanGeneExpressions)))
|
.domain(d3.extent(Object.values(meanGeneExpressions)))
|
||||||
.range([0, 1]);
|
.range([1, 0]);
|
||||||
|
|
||||||
return categorySummary.categoryValues.map(
|
return categorySummary.categoryValues.map(
|
||||||
(val, _categoryValueIndex) => {
|
(val, _categoryValueIndex) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user