Calculates the signature model with MOMF

build_model_momf(
  single_cell_object,
  cell_type_annotations,
  bulk_gene_expression
)

Arguments

single_cell_object

A matrix with the single-cell data. Rows are genes, columns are samples. Row and column names need to be set.

cell_type_annotations

A vector of the cell type annotations. Has to be in the same order as the samples in single_cell_object.

bulk_gene_expression

A matrix of bulk data. Rows are genes, columns are samples. Row and column names need to be set.

Value

The signature matrix. Rows are genes, columns are cell types.