Description Usage Arguments Value
Similar to normal transform like log2 or log10. But keep 0 values as 0, to avoid Inf values and negtive values are made as -scale(abs(x)), to avoid NaN values.
1 | pseudo.transform(x, scale = log2, by.reference = FALSE)
|
x |
a numeric vector or data.frame/data.table of numeric columns |
scale |
a function, default log2, which function to transform with. |
by.reference |
logical, FALSE. if TRUE, update object by reference if it is data.table. |
same object class as x, with transformed values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.