From be1ab6d100f2ac2738dc3e379de78e494c3e8c0b Mon Sep 17 00:00:00 2001 From: "Daniel Y. Zhu" Date: Sun, 3 Mar 2024 22:33:44 -0500 Subject: [PATCH] Edits to base GRN, CCI core --- spateo/tools/CCI_effects_modeling/MuSIC_downstream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spateo/tools/CCI_effects_modeling/MuSIC_downstream.py b/spateo/tools/CCI_effects_modeling/MuSIC_downstream.py index 0fc913c3..9ecdf082 100644 --- a/spateo/tools/CCI_effects_modeling/MuSIC_downstream.py +++ b/spateo/tools/CCI_effects_modeling/MuSIC_downstream.py @@ -808,6 +808,7 @@ def plot_interaction_effect_3D( self.logger.info(f"{(target_interaction_coef > 0).sum()} {target}-expressing cells affected by {interaction}.") if n_neighbors_smooth > 0: from scipy.spatial import cKDTree + tree = cKDTree(coords) distances, indices = tree.query(coords, k=n_neighbors_smooth + 1) smoothed_values = np.zeros(len(target_interaction_coef))