callDNA_CN | R Documentation |
call copy numbers out of CNR data
callDNA_CN( cnr, cbioportal = FALSE, deletion.threshold = -0.5, loss.threshold = -0.1, gains.threshold = 0.1, amplification.threshold = 1 )
cnr |
a cnr bundle |
cbioportal |
logical, weather to use the cBioPortal copy number call categories of -2, -1, 0, 1, 2 to denote deletion, loss, neutral, gain, amplificiation, respectively. Default is FALSE. If TRUE, hyper amplification calls will be joined with 2 |
deletion.threshold |
integer to use as locus deletion, default -0.5 |
loss.threshold |
copy number ratio to use as copy number loss, default -0.1 |
gains.threshold |
copy number ratio to use as copy number gains, default 0.1 |
amplification.threshold |
copy number ratio to use as copy number amplification default 1 |
returns a matrix with copy number calls in the form of D, L, N, G, A1 and A2 from an X matrix
| CN | Call | cBioPortal Notation | |———-:|: —- :|: —————– :| | -0.50 | D | -2 | | -0.10 | L | -1 | |-0.1 - 0.1 | N | 0 | | 0.1 - 1.0 | G | 1 | | >1.0 | A | 2 |
data(cnr) Xc <- callDNA_CN(cnr) Xp <- callDNA_CN(cnr, cbioportal = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.