dropChangePoints.AbstractCBS: Drops zero or more change points

dropChangePoints.AbstractCBSR Documentation

Drops zero or more change points

Description

Drops zero or more change points, which is done by dropping one change point at the time using *dropChangePoint() and recalculating the segment statistics at the end.

NOTE: This method only works if there is only one chromosome.

Usage

## S3 method for class 'AbstractCBS'
dropChangePoints(fit, idxs, update=TRUE, ...)

Arguments

idxs

An integer vector specifying the change points to be dropped.

update

If TRUE, segment statistics are updated.

...

Other arguments passed to *dropChangePoint() and *updateMeans().

Value

Returns an AbstractCBS of the same class with length(idxs) segments.

Author(s)

Henrik Bengtsson

See Also

For more information see AbstractCBS.


PSCBS documentation built on May 29, 2024, 5:59 a.m.