Description Usage Arguments Value
Models the imputed gene expression values as a mixture of gaussian distributions. For a two-state model, estimates the probability that a given cell is in the 'on' or 'off' state for any gene. Followed by a greedy k-means step where cells are allowed to flip states based on the overall structure of the data (see Manuscript for details)
1 2 |
object |
Seurat object |
gene |
Gene to fit |
do.k |
Number of modes for the mixture model (default is 2) |
num.iter |
Number of 'greedy k-means' iterations (default is 1) |
do.plot |
Plot mixture model results |
genes.use |
Genes to use in the greedy k-means step (See manuscript for details) |
start.pct |
Initial estimates of the percentage of cells in the 'on' state (usually estimated from the in situ map) |
A Seurat object, where the posterior of each cell being in the 'on' or 'off' state for each gene is stored in object@mix.probs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.