Run the PeakSegJointFaster heuristic optimization algorithm, for several bin.factor parameter values, keeping only the most likely model found. This gives an approximate solution to a multi-sample Poisson maximum likelihood segmentation problem. Given S samples, this function computes a sequence of S+1 PeakSegJoint models, with 0, ..., S samples with an overlapping peak (maximum of one peak per sample). It also computes for G groups, the seq of G+1 models, with 0, ..., G groups with an overlapping peak.
PeakSegJointFaster(profiles, bin.factor.vec =2:7)
Arguments
profiles: data.frame with columns sample.id, sample.group, chromStart, chromEnd, count.
bin.factor.vec: Size of bin pyramid. Bigger values result in slower computation.