mergeStates takes the output of a segmentation algorithm in
the form of a SegList and iteratively merges the
states with means closer than a supplied threshold.
mergeStates(segList, MergeType = 1, pv.thres=0.0001, ansari.sign=0.01, minDiff = 0.25)SegList.
SegList object is returned with the merged states
stored in the pred list.
SegList,
runHomHMM,
runGLAD,
runDNAcopy