View source: R/generateCellProportions.R
generateCellProportions | R Documentation |
Create matrix of cellular composition profiles consisting of proportion of noise and remaining compostion in the ratio of supplied cell types
generateCellProportions(cellProp, noise)
cellProp |
A vector of the required cellular proportions. Must be named with cell labels. |
noise |
A vector of the proportion of noise. |
A matrix with length(noise) columns and length(cellProp)+1 columns.
meanBloodProp <- c(3.01, 13.4, 6.13)
names(meanBloodProp) <- c("Bcell", "CDT4+", "CDT8")
noise <- c(seq(0, 0.1, 0.02))
generateCellProportions(meanBloodProp, noise)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.