hicTransform transforms a given input matrix into a new matrix using one of the following methods:
- obs_exp
- obs_exp_lieberman
- obs_exp_non_zero
- pearson
- covariance
All expected values are computed per genomic distances.
$ hicTransform -m matrix.cool --method obs_exp -o obs_exp.cool
For all images data from Rao 2014 was used.
All values, including non-zero values, are used to compute the expected values per genomic distance.
The expected matrix is computed in the way as Lieberman-Aiden used it in the 2009 publication. It is quite similar to the obs/exp matrix computation.
Only non-zero values are used to compute the expected values per genomic distance, i.e. only non-zero values are taken into account for the denominator.
By adding the --ligation_factor flag, the expected matrix can be re-scaled in the same way as has been done by Homer software when computing observed/expected matrices with the option '-norm'.
C is the covariance matrix
The first image shows the Pearson correlation on the original interaction matrix, the second one shows the Person correlation matrix on an observed/expected matrix. A consecutive computation like this is used in the A/B compartment computation.
Covi, j = E[Mi, Mj] − μi * μj
where M is the input matrix and μ the mean.