dropChangePoints.AbstractCBS: Drops zero or more change points

Description Usage Arguments Value Author(s) See Also

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

1
2
## 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 6, 2019, 1:05 a.m.