get_vaf_correction: Computes the VAF correction factor for a table of mutations

Description Usage Arguments Details Value

View source: R/get_vaf_correction.R

Description

The VAF correction factor adjusts the expected mean variant allele fraction

Usage

1
get_vaf_correction(mutation_table)

Arguments

mutation_table

The same mutation table used as input to get_population_signatures.

Details

The correction factor is computed as

\frac{p}{C^{(t)} p + C^{(n)} (1-p)}

,

where p is the tumour content / purity, $C^(t)$ is the tumour copy number, and $C^(n)$ is the normal copy number.

Value

Numeric vector of correction factors


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.