LogNormalize | R Documentation |
Normalize Raw Data
LogNormalize(data, scale.factor = 10000, margin = 2L, verbose = TRUE, ...)
## S3 method for class 'data.frame'
LogNormalize(data, scale.factor = 10000, margin = 2L, verbose = TRUE, ...)
## S3 method for class 'V3Matrix'
LogNormalize(data, scale.factor = 10000, margin = 2L, verbose = TRUE, ...)
## Default S3 method:
LogNormalize(data, scale.factor = 10000, margin = 2L, verbose = TRUE, ...)
data |
Matrix with the raw count data |
scale.factor |
Scale the data; default is |
margin |
Margin to normalize over |
verbose |
Print progress |
... |
Arguments passed to other methods |
A matrix with the normalized and log-transformed data
mat <- matrix(data = rbinom(n = 25, size = 5, prob = 0.2), nrow = 5)
mat
mat_norm <- LogNormalize(data = mat)
mat_norm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.