build_model_momf: Calculates the signature model with MOMF

View source: R/MOMF.R

build_model_momfR Documentation

Calculates the signature model with MOMF

Description

Calculates the signature model with MOMF

Usage

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.


PelzKo/immunedeconv2 documentation built on Feb. 12, 2025, 4:16 p.m.