mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 04:18:11 +08:00
obs index to index
This commit is contained in:
@@ -301,7 +301,7 @@ export function createVarDimension(
|
||||
const worldIndex = worldObsIndex ? idx => worldObsIndex[idx] : idx => idx;
|
||||
|
||||
return crossfilter.dimension(r => {
|
||||
return varData[worldIndex(r.__obsIndex__)];
|
||||
return varData[worldIndex(r.__index__)];
|
||||
}, Float32Array);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user