This function returns a dataframe in the same format as the input with segmented arrayCGH data.
Details
See segment for details on the algorithm. About clen and relSDlong:
these are only relevant when segment option undo.splits=sdundo is set, in combination with segment option undo.SD.
relSDlong provides the undo sd for long segments, which equals undo.SD/relSDlong. undo.SD is then used for short segments.
In the example below, short segments are considered to contain
less or equal to clen=10 features. The example below undoes splits for two consecutive short segments if these are less than undo.SD=3 sd apart,
while it undoes splits for two long segments if these are less than undo.SD/relSDlong=3/3=1 sd apart. If, for two consecutive segements, one is short and one is long,
splits are undone in the same way as for two short segments.
References
Venkatraman, A.S., Olshen, A.B. (2007). A faster circulary binary segmentation algorithm for the analysis of array CGH data. Bioinformatics, 23, 657-663.