This function recrusively looks for the best candidate change point
according to group-fused LARS. This is a low-level function. It is generally
advised to use the wrapper doGFLars
which also works on data
frames, has a convenient argument stat
, and includes a basic
workaround for handling missing values.
See also jointSeg
for combining group fused LARS segmentation
with pruning by dynamic programming (pruneByDP
).
See PSSeg
for segmenting genomic signals from SNP arrays.
The default weights \(\sqrt{n/(i*(n-i))}\) are calibrated as suggested by
Bleakley and Vert (2011). Using this calibration, the first breakpoint
maximizes the likelihood ratio test (LRT) statistic.