matrix_process | R Documentation |
Process matrix
matrix_process(
matrix,
method = c("raw", "zscore", "fc", "log2fc", "log1p"),
...
)
matrix |
A matrix. |
method |
Method to use for processing the matrix. |
... |
Other arguments passed to the method. |
A processed matrix.
m <- simulate_sparse_matrix(10, 10)
matrix_process(m, method = "raw")
matrix_process(m, method = "zscore")
matrix_process(m, method = "fc")
matrix_process(m, method = "log2fc")
matrix_process(m, method = "log1p")
m <- as_matrix(m)
matrix_process(m, method = function(x) x / rowMeans(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.