Description Usage Arguments Value Author(s) Examples
View source: R/getFracBSignal.R
The allele B fraction signal is the ratio between the signal from the allele B and the total signal. The symmetrization of the fraction allele B signal x is : 2*abs(x-0.5).
1 | symmetrizeFracB(fracB)
|
fracB |
a vector containing an allele B fraction signal. |
a vector containing the symmetrized signal.
Quentin Grimonprez
1 2 3 4 5 | signalA=abs(rnorm(100))
signalB=abs(rnorm(100))
signalFracB=signalA/(signalA+signalB)
symFracB=symmetrizeFracB(signalFracB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.