Description Usage Arguments Value
View source: R/convertCellScoresToCounts.R
Converts cell abundance scores to cell counts, under the assumption that the observation with the greatest sum of cell abundance scores is 100
1 | convertCellScoresToCounts(beta, nuclei.counts = NULL, omit.tumor = FALSE)
|
beta |
Matrix of cell abundance scores, with cells in rows and observations in columns. The assumption is that this matrix is from well-normalized data. |
nuclei.counts |
Optional. A vector of total nuclei counts. If provided, the function will output not only cells.per.100 but also total cells. |
omit.tumor |
Logical. If FALSE, any rows of beta with "tumor" in their name will be omitted. |
A list with two elements, each a rescaled version of beta. cells.per.100 gives estimated percents of total, and cell.counts is cells.per.100 * nuclei.counts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.