clusterProbability: Get the probability of the cluster assignments generated...

Description Usage Arguments Value Examples

View source: R/s3_generics.R

Description

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

Usage

1
clusterProbability(counts, celda.mod, 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 'celda.mod'.

celda.mod

Celda model. Options available in 'celda::available.models'.

log

Logical. If FALSE, then the normalized conditional probabilities will be returned. If TRUE, then the unnormalized log probabilities will be returned. Default FALSE.

Value

A numeric vector of the cluster assignment probabilties

Examples

1

compbiomed/celda documentation built on May 25, 2019, 3:58 a.m.