We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d56cf1e commit c199852Copy full SHA for c199852
api/python/cellxgene_census/src/cellxgene_census/experimental/pp/_highly_variable_genes.py
@@ -89,7 +89,7 @@ def _highly_variable_genes_seurat_v3(
89
n_batches = len(batch_index.cat.categories)
90
n_samples = batch_index.value_counts().loc[batch_index.cat.categories.to_numpy()].to_numpy()
91
if n_batches > 1:
92
- batch_indexer = batch_index.index.get_indexer
+ batch_indexer = soma.IntIndexer(batch_index.index.to_numpy(), context=query.experiment.context).get_indexer
93
batch_codes = batch_index.cat.codes.to_numpy().astype(np.int64)
94
else:
95
n_batches = 1
0 commit comments