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 Oct. 23, 2021, 9:09 a.m.