scviva.tools.vision.filter_genes_novar

scviva.tools.vision.filter_genes_novar#

scviva.tools.vision.filter_genes_novar(X)[source]#

Remove genes with zero variance across cells.

Parameters:

X (array-like of shape (n_cells, n_genes)) – Expression matrix, cells × genes.

Returns:

Boolean mask of shape (n_genes,); True for genes that pass.

Return type:

np.ndarray