joinNearGRanges: Merge adjacent amplicons that have a similar segment mean

View source: R/amplicon-utils.R

joinNearGRangesR Documentation

Merge adjacent amplicons that have a similar segment mean

Description

Merges adjacent amplicons (<= 3kb separation) that have similar segment means.

Usage

joinNearGRanges(object, params)

Arguments

object

a GRanges object

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)

Details

Merging is performed by the reduce operation.

Value

a GRanges object of the merged segments


cancer-genomics/trellis documentation built on Aug. 20, 2024, 5:48 p.m.