foldChangeToLogRatio | R Documentation |
Interconvert log ratio and fold change values
foldChangeToLogRatio(object, ...)
logRatioToFoldChange(object, ...)
## S4 method for signature 'numeric'
foldChangeToLogRatio(object, base = 2L)
## S4 method for signature 'numeric'
logRatioToFoldChange(object, base = 2L)
object |
Object. |
base |
|
... |
Additional arguments. |
numeric
.
Updated 2021-10-14.
gtools::foldchange2logratio()
.
gtools::logratio2foldchange()
.
## Convert fold change to log ratio.
foldChangeToLogRatio(c(-8, -4, -2, 1, 2, 4, 8))
## Convert log ratio to fold change.
logRatioToFoldChange(seq(-3, 3, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.