mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 02:08:12 +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;
|
const worldIndex = worldObsIndex ? idx => worldObsIndex[idx] : idx => idx;
|
||||||
|
|
||||||
return crossfilter.dimension(r => {
|
return crossfilter.dimension(r => {
|
||||||
return varData[worldIndex(r.__obsIndex__)];
|
return varData[worldIndex(r.__index__)];
|
||||||
}, Float32Array);
|
}, Float32Array);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user