Skip to content

Commit

Permalink
chore: Import log1p_ function in cell_cycle.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chansigit committed Jul 3, 2024
1 parent 674f013 commit bd9d7e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dynamo/preprocessing/cell_cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import pandas as pd
from scipy.sparse import issparse

from ..tools.utils import log1p_
from ..utils import LoggerManager, copy_adata


Expand All @@ -30,7 +29,7 @@ def group_corr(adata: anndata.AnnData, layer: Union[str, None], gene_list: list)
between input gene_list and the adata.var_names. corr contains the correlation coefficient of each gene with
the mean expression of all genes in the list.
"""
from ..tools.utils import einsum_correlation
from ..tools.utils import einsum_correlation, log1p_
# returns list of correlations of each gene within a list of genes with the total expression of the group
tmp = adata.var_names.intersection(gene_list)
# get the location of gene names
Expand Down

0 comments on commit bd9d7e7

Please sign in to comment.