View source: R/amplicon-utils.R
joinNearGRanges | R Documentation |
Merges adjacent amplicons (<= 3kb separation) that have similar segment means.
joinNearGRanges(object, params)
object |
a |
thr |
a length-one numeric vector. If the difference of the average log ratio for two segments is less than this number, combine the segments. The segment mean of the merged GRanges will be the weighted average, where the weights are the segment widths. |
MIN_WIDTH |
minimum size of amplicon (default 2000) |
Merging is performed by the reduce
operation.
a GRanges
object of the merged segments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.