|
Continue the discussion in #104 , I wonder how to normalize the matrix with non-fixed bin sizes like this: Just to make sure, cooler already supports fetching contact matrices based on variable bin-size, right? |
Answered by
nvictus
Oct 1, 2024
Replies: 1 comment 3 replies
|
You can normalize the variable binsize data just like a usual contact map by calculating normalization factors
Yes. |
3 replies
Answer selected by
nvictus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can normalize the variable binsize data just like a usual contact map by calculating normalization factors$w_i$ associated with each bin $i$ , such that $N_{ij} = A_{ij}w_{i}w_{j}$ . For matrix balancing, this would give each custom bin equal "visibility". Depending on your research question, this may be appropriate. If you want to normalize genomic coverage, then you are better off binning the data uniformly.
Yes.