Learn R Programming

celda (version 0.0.0.9000)

factorizeMatrix.celda_CG: Generate factorized matrices showing each feature's influence on the celda_CG model clustering

Description

Generate factorized matrices showing each feature's influence on the celda_CG model clustering

Usage

# S3 method for celda_CG
factorizeMatrix(celda.mod, counts, type = c("counts",
  "proportion", "posterior"))

Arguments

celda.mod

object returned from celda_CG function

counts

A numerix count matrix

type

one of the "counts", "proportion", or "posterior".

Value

A list of factorized matrices, of the types requested by the user. NOTE: "population" state matrices are always returned in cell population (rows) x transcriptional states (cols).