mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 05:08:12 +08:00
move var index after returns
This commit is contained in:
@@ -34,9 +34,10 @@ export function createColorQuery(colorMode, colorByAccessor, schema, genesets) {
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
case "color by geneset mean expression": {
|
case "color by geneset mean expression": {
|
||||||
const varIndex = schema?.annotations?.var?.index;
|
|
||||||
if (!varIndex) return null;
|
if (!varIndex) return null;
|
||||||
|
if (!genesets) return null;
|
||||||
|
|
||||||
|
const varIndex = schema?.annotations?.var?.index;
|
||||||
const _geneset = genesets.get(colorByAccessor);
|
const _geneset = genesets.get(colorByAccessor);
|
||||||
const _setGenes = Array.from(_geneset.genes.keys());
|
const _setGenes = Array.from(_geneset.genes.keys());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user