CountTransform | R Documentation |
CountTransform Constructor
CountTransform(func, center = FALSE, scale = FALSE)
func |
Transformation to be applied to sparse count matrix. Should be a function with a single parameter. |
center |
Whether transformed data should be shifted to have mean zero.
Can be specified either as a vector of two logical values, specifying
whether the rows/columns should be centered, respectively, or a single
logical value specifying whether the columns should be centered (for
consistency with |
scale |
Whether transformed rows should be scaled to have unit variance |
CountTransform object
triple <- CountTransform(function(x) 3 * x, center = FALSE, scale = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.