The ChromHMM manual said that flankwidthcontrol is used to compute average control counts for all bins within x-w and x+w for the xth bin, however, the sum of counts rather than average counts is calculated in the code (windowSumGrid method in Preprocessing class, see the following picture).
Manual:
Code:
So I am wondering which one is actually used? It seems that average value is more reasonable. Maybe the mean counts is computed somewhere else?
They end up being equivalent for determining the binarization threshold based on how the values are used in
determineMarkThresholdsFromBinnedDataArrayAgainstControl
The ChromHMM manual said that
flankwidthcontrol
is used to compute average control counts for all bins within x-w and x+w for the xth bin, however, the sum of counts rather than average counts is calculated in the code (windowSumGrid
method inPreprocessing
class, see the following picture).Manual:
Code:
So I am wondering which one is actually used? It seems that average value is more reasonable. Maybe the mean counts is computed somewhere else?
Thanks Nan