Description Usage Arguments Value Examples
View source: R/rd.cnSegments.R
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.
1 | trimSegmentEnds(segs, rdo)
|
segs |
a data frame that is the result of calling rd.cnSegments |
rdo |
a readDepth object created with new("rdObject") |
the segment data frame adjusted to have the ends trimmed
1 2 3 4 5 | ##get regions of CN gain and loss
# segs <- rd.cnSegments(x)
##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.