Skip to contents

Compute the tumour DNA fraction for the given absolute copy number(s) in the tumour and the cellularity, i.e. the fraction of all cells that are tumour cells. Copied from rascal.

Usage

TumourFraction(absolute_copy_number, cellularity)

Arguments

absolute_copy_number

the absolute copy number(s) (a numeric value).

cellularity

the cellularity, i.e. the fraction of cells that are from the tumour.

Value

the fraction of DNA that originates from tumour cells.

Examples

TumourFraction(3, 0.82)
#> [1] 0.8723404