josura / c2c-sepia

Multi agent model for perturbations in networks of networks. Used for Cell-to-cell communication with enriched pathways, using scRNA-seq or spatial data
Creative Commons Attribution 4.0 International
2 stars 0 forks source link

Problems in the case where the first term in the iteration algorithm(the subtraction of the identity matrix and Wt) is not invertible #10

Closed josura closed 1 year ago

josura commented 1 year ago

In the case where I-Wt is not invertible(due to multiple factors, like cycles in the graph, or bipartition, etc...), the algorithm doesn't converge even for intra-cell communication.

josura commented 1 year ago

The problem was circumvented with the implementation of the pseudo-inverse and the use of other means to compute the perturbation, so the issue was "resolved"