Skip to contents

Predict fold change from copies per cell

Usage

pred_fc(tumour_cpc, ncc, dir, ref_cpc = 2, stroma_cpc = 2, digits = 1)

Arguments

tumour_cpc

Copies of gene locus per tumour cell

ncc

Neoplastic cell content

dir

Fold change direction, must be "gain" or "loss"

ref_cpc

Copies of gene locus per reference cohort cell

stroma_cpc

Copies of gene locus per stroma cell

digits

Digits to round the fold change to

Value

The predicted fold change

Examples

pred_fc(tumour_cpc = 109, ncc = 26, dir = "gain")
#> [1] 14.9