The EpiTensor model is based on high-order tensor decomposition (see Supplementary Materials for details). Let Dmnk be a third order tensor, where m is the cell type, n is the assay index and k the genomic locus index. Applying tensor decomposition to D, we obtain D=S × 1Ucell × 2Uassay × Ulocus, where Ucell is the cell type subspace, Uassay is the assay subspace, Ulocus is the genomic locus subspace and S is the core tensor that governs the interactions among the three subspaces. In this study, we focused on analysing Ulocus, which encodes the spatial association among distal loci. Each eigenlocus vector in Ulocusrepresents one epigenomic pattern. Dimension reduction in tensor decomposition was obtained by computing for D, a best rank-(R1,R2,…,RN)approximation57
, which minimizes the error function
, subject to (Ucell)T
Ucell=I, (Uassay)T
Uassay=I, and (Ulocus)T
Ulocus=I (ref. 58). The three constraints are to ensure orthonormality of the three subspaces. In practice, we used full rank in the cell and assay subspaces because we focus on the locus subspace. In the locus subspace, we chose a rank that keeps at least 95% of the original energy
.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.