joinSegments.CBS | R Documentation |
Joins neighboring segments such that there is no gap in between them. For instance, consider two neighboring segments [x1,x2] and [x3,x4] with x1 < x2 < x3 < x4. After join the segments, they are [x1,x23] and [x23,x4] where x23 = (x2 + x3)/2.
## S3 method for class 'CBS'
joinSegments(fit, range=NULL, verbose=FALSE, ...)
range |
(optional) A |
verbose |
See |
... |
Not used. |
This function assumes only chromosome exists. If more, an error will be thrown.
Returns an updated CBS
object.
Henrik Bengtsson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.