Description Usage Arguments Value
View source: R/transformation.R
The module provides several transformations on a numeric data matrix for the user.
1 2 3 4 5 6 7 8 9 10 | transformation(
input,
output,
session,
data,
transpose = FALSE,
pseudocount = 1,
replaceInf = TRUE,
replaceNA = TRUE
)
|
input |
Shiny's input object. |
output |
Shiny's output object. |
session |
Shiny's session object. |
data |
Numeric matrix on which transformation is performed (column-wise). (Supports reactive) |
transpose |
Whether the matrix should be transposed to enable row-wise transformation. (Supports reactive) |
pseudocount |
Numeric Variable to add a pseudocount to log-based transformations. (Supports reactive) |
replaceInf |
Change Infinite to NA, applied after transformation. (Supports reactive) |
replaceNA |
Change NA to 0, applied after transformation. (Supports reactive) |
Namedlist of two containing data and name of the used method. data: Reactive containing the transformed matrix. Infinite values are replaced by NA and NA values are replaced by 0. method: Reactive containing String. transpose: Reactive containing String.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.