Description Usage Arguments Value Examples
trim the ends of segments such that they're called normal (CN = 2.0) until the first bin that isn't NA
useful for chromosomes like 22, where there are tens of megabases that are unmappable at beginning. Without this, those regions would be called with the same CN as the first few mappable bins. This may or may not be desirable behavior, so use with caution
1 | trimSegmentEnds(segs, rdo)
|
segs |
a data frame that is the result of calling cnSegments() |
rdo |
a read depth object |
the segment data frame adjusted to have the ends trimmed
1 2 3 4 5 | ##get regions of CN gain and loss
# segs <- cnSegments(rdo)
##trim the segment ends
# trimSegmentEnds(segs, rdo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.