clusterProbability {celda} | R Documentation

## Get cluster probability

### Description

Get the probability of the cluster assignments generated during a celda run.

### Usage

    clusterProbability(counts, celdaMod, log = FALSE, ...)

### Arguments

`counts` | Integer matrix. Rows represent features and columns represent cells. This matrix should be the same as the one used to generate 'celdaMod'.
`celdaMod` | celdaModel. Options available in 'celda::availableModels'.
`log` | Logical. If FALSE, then the normalized conditional probabilities will be returned. If TRUE, then the unnormalized log probabilities will be returned. Default FALSE.
`...` | Additional parameters.

### Value

A numeric vector of the cluster assignment probabilties

### Examples

    data(celdaCGSim, celdaCGMod)
    clusterProb <- clusterProbability(celdaCGSim$counts, celdaCGMod)

[Package celda version 1.2.4 Index]