absolute_to_relative_copy_number: Convert absolute copy numbers to relative copy numbers

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Convert absolute copy numbers to relative copy numbers based on the given ploidy and cellularity.

Usage

1
absolute_to_relative_copy_number(absolute_copy_numbers, ploidy, cellularity)

Arguments

absolute_copy_numbers

a numeric vector of absolute copy numbers.

ploidy

the tumour ploidy.

cellularity

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

Value

a numeric vector containing relative copy numbers, i.e. ratios of copy numbers to the average copy number.

Examples

1
2

crukci-bioinformatics/rascal documentation built on Dec. 19, 2021, 6:21 p.m.