Drops chromosomal regions (a connected set of segments) each of a certain size (number of segments). None of the statistics are recalculated.
# S3 method for AbstractCBS
dropRegions(this, regions, H=1, ..., asMissing=FALSE, verbose=FALSE)Returns an AbstractCBS object of the same class with (at most)
R*H segments dropped.
If some regions overlap (share segments), then fewer than R*H segments
are dropped.
An integer vector of length R specifying the indices
of the left most segment in each of the R regions to be dropped.
A non-negative integer specifying the size of each region,
i.e. the number of segments per region.
Additional arguments passed to *extractRegions().
If TRUE, dropped segments are replaced by missing values,
otherwise they are truly dropped.
A logical or a Verbose object.
Henrik Bengtsson
Internally *extractRegions() is used.
See also *dropChangePoint() and *mergeTwoSegments().
For more information see AbstractCBS.