Description Usage Arguments Details Value Examples
Normalizes data to a common library size, imputing zeros as needed.
1 | NBumiImputeNorm(counts, fit, total_counts_per_cell=median(fit$vals$tis))
|
counts |
raw count matrix, rows=genes, cols=cells |
fit |
Output from |
total_counts_per_cell |
reference library size to normalize all cells to. |
Converts raw counts into positions in the CDF for the depth-adjusted negative binomial model fit to each observation. Adjusts the DANB parameters (mean and size) for the new library size. Then calculate the normalized counts for the equivalent position in the CDF for the NB using the new parameters.
Normalized count matrix.
1 2 3 4 5 | library(M3DExampleData)
counts <- as.matrix(Mmus_example_list$data);
counts <- counts[rowSums(counts) > 0,];
fit <- NBumiFitModel(counts);
normed_counts <- NBumiImputeNorm(counts, fit, 1000000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.