Learn R Programming

PSCBS (version 0.67.0)

mergeTwoSegments.PairedPSCBS: Merge two neighboring segments

Description

Merge two neighboring segments by recalculating segment statistics.

Usage

# S3 method for PairedPSCBS
mergeTwoSegments(this, left, update=TRUE, verbose=FALSE, ...)

Value

Returns a PairedPSCBS with one less segment.

Arguments

left

An integer specifying the segments (left, left+1) to be merged.

update

If TRUE, segment statistics are updated.

verbose

A logical or a Verbose object.

...

Not used.

Author

Henrik Bengtsson

See Also

To drop regions (a connected set of segments) see dropRegions(). For more information see PairedPSCBS.