mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 06:48:11 +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": {
|
||||
const varIndex = schema?.annotations?.var?.index;
|
||||
if (!varIndex) return null;
|
||||
if (!genesets) return null;
|
||||
|
||||
const varIndex = schema?.annotations?.var?.index;
|
||||
const _geneset = genesets.get(colorByAccessor);
|
||||
const _setGenes = Array.from(_geneset.genes.keys());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user