Learn R Programming

celda (version 0.0.0.9000)

factorizeMatrix: Generate factorized matrices showing each feature's influence on cell / gene clustering

Description

Generate factorized matrices showing each feature's influence on cell / gene clustering

Usage

factorizeMatrix(celda.mod, counts, type)

Arguments

celda.mod

An object from a celda_list's res.list property

counts

A numeric count matrix

type

A character vector containing one or more of "counts", "proportions", or "posterior". "counts" returns the raw number of counts for each entry in each matrix. "proportions" returns the counts matrix where each vector is normalized to a probability distribution. "posterior" returns the posterior estimates which include the addition of the Dirichlet concentration parameter (essentially as a pseudocount).