Skip to main content
. Author manuscript; available in PMC: 2023 Oct 19.
Published in final edited form as: Cell Syst. 2022 Oct 19;13(10):798–807.e6. doi: 10.1016/j.cels.2022.09.004

Algorithm 1.

Optimization procedure for Fast-Higashi

1: for chromosome c do
2:  Initialize A(c) to be full of one
3:  Initialize B¯(c) to be the identity matrix
4:  Flatten the first two dimensions of X(c), denote its rc right singular vectors by (VD)(c)
5: end for
6: Concatenate all (VD)(c) along the rank dimension, and initialize V as its top R left singular vectors
7: Initialize D(c) as V(VD)(c) for every chromosome c
8: for 1tT do
9:  Update the value of U(c) by its closed form for each chromosome c
10:  Update the value of V by its closed form
11:  Update B¯(c), A(c), D(c) by alternative least square (ALS) until convergence for chromosome c
12: end for