merge_segments | R Documentation |
Merge segments with respect to the kit resolution and the copy number.
merge_segments(segments, kit.resolution = 300)
segments |
A |
kit.resolution |
Number >0 indicating the minimum segment size detectable by the technique (in kilobases). Defaults to the Oncoscan assay resolution outside of cancer genes: 300Kb. |
If two segments are at a distance smaller than the resolution, then
the segments are merged if the
share the same cn
value. Note that the function does not look at the
copy number type or subtype but
only at the actual copy number to decide whether segments can be merged.
A GRanges
object containing the cleaned segments, their copy
number and copy number types.
segs.merged <- merge_segments(segs.chas_example)
segs.merged_50k <- merge_segments(segs.chas_example, 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.