This is a draft of a library to work with 3-point contact Hi-C contact maps, produced by experimental techniques such as Tri-C, or from polymer simulatiosn. It includes some basic tools for working with 3-point contact "tensors" such as:
- Matrix balancing (Iterative correction)
- Add transpose / leave triu elements only
- Four different versions of 3-point "Expected" (still under debate on which one makes more sense)
- Tools for extracting 3-point maps from polymer conformations