regvelo.preprocessing.filter_genes¶
- regvelo.preprocessing.filter_genes(adata)[source]¶
Filter genes in an AnnData object to ensure each gene has at least one upstream regulator in the GRN.
The function iteratively refines the skeleton matrix to maintain only genes with regulatory connections. Only used by
soft_constraint=FalseRegVelo model.