compute the deviation from optimum: equal number of MS1 per bin

objectiveMS1Function(splits, data)

Arguments

splits

the new window boundaries

data

the data

Value

list with score1 - manhattan distance, score2 - euclidean distance, counts - observed counts, optimumN - optimum counts