TransformedMatrix | R Documentation |
TransformedMatrix Constructor.
TransformedMatrix(y, transform)
y |
SparseMatrix object |
transform |
Transformation to apply to |
TransformedMatrix object
mat <- as(matrix(c(1:9), nrow = 3, ncol = 3), "SVT_SparseMatrix")
triple <- CountTransform(function(x) 3 * x, center = FALSE, scale = FALSE)
tripled_mat <- TransformedMatrix(mat, triple)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.