trim_to_coverage: Trim segments with respect to the kit's coverage.

View source: R/input.R

trim_to_coverageR Documentation

Trim segments with respect to the kit's coverage.

Description

Trim segments with respect to the kit's coverage.

Usage

trim_to_coverage(segments, kit.coverage)

Arguments

segments

A GRanges object containing the segments, their copy number and copy number types.

kit.coverage

A GRanges object containing the regions covered on each chromosome arm.

Details

All segments that are not entirely contained within the kit coverage will be trimmed to the coverage's limits.

Value

A GRanges object containing the cleaned segments, their copy number and copy number types.

Examples

segs.trimmed <- trim_to_coverage(segs.chas_example, oncoscan_na33.cov)

yannchristinat/oncoscanR documentation built on Oct. 26, 2024, 12:58 p.m.