View source: R/tumour.normal.ratio.to.cn.state.R
tumour.normal.ratio.to.cn.state | R Documentation |
Convert tumour:normal count ratios into copy number states for a set of probes
tumour.normal.ratio.to.cn.state(ratios, thresholds)
ratios |
A vector of tumour:normal count ratios. See output of NanoStringNormCNV:::get.tumour.normal.ratio |
thresholds |
A 4-item vector specifying homozygous loss, heterozygous loss, single-copy gain and multi-copy gain, respectively. Order is important! See output of NanoStringNormCNV:::get.cna.thresholds |
Copy number states differ from actual copy number values by representing the copy number deviation (i.e. -2, -1, 0, 1, 2+) from an expected neutral copy number (i.e. 2) and not the copy number itself (i.e. 0, 1, 2, 3, 4+).
A vector of copy number states
Emilie Lalonde
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.