score_mbalt: Computes the total number of Mbp altered.

View source: R/scores.R

score_mbaltR Documentation

Computes the total number of Mbp altered.

Description

Computes the total number of Mbp altered.

Usage

score_mbalt(segments, kit.coverage, loh.rm = TRUE)

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.

loh.rm

A boolean (TRUE by default) to indicate whether LOH segments should be excluded.

Value

A named list representing the Mbp altered in the sample and the total Mbp of the kit.

Examples

score_mbalt(segs.chas_example, oncoscan_na33.cov)
score_mbalt(segs.chas_example, oncoscan_na33.cov, FALSE)

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