clusterProbability: Get cluster probability

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2

celda documentation built on June 9, 2020, 2 a.m.