CelLink.utils

Small helper utilities for preprocessing, graph smoothing, and distance computations used by CelLink.

Functions

cdist_correlation

Calculate pair-wise 1 - Pearson correlation between X and Y.

drop_low_variability_columns

Drop columns for which the standard deviation is below a specified tolerance in any one of the arrays in arr_list.

graph_smoothing

Adjust node features towards the weighted average of their neighbors' features.