View source: R/cell-workflow.R
| cuda_normalize_counts | R Documentation |
Counts are expected with features in rows and cells in columns.
cuda_normalize_counts(counts, scale_factor = 10000, log1p = TRUE)
counts |
A base matrix, |
scale_factor |
Target library size. |
log1p |
Whether to apply |
A sparse Matrix::dgCMatrix with the input feature and cell names.
counts <- Matrix::Matrix(matrix(c(1, 0, 3, 2, 4, 1), 3), sparse = TRUE)
cuda_normalize_counts(counts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.