Mean expression per cell type over the signature features: the reference
dwls() expects.
Arguments
- expr
single-cell expression, features (rows) by cells (columns). Pass the scale the spots will be solved on, i.e. normalised and not logged (
dwls()reverse-logs the spot expression before solving).- sign_gene
character. signature features, e.g. cell type markers. Features missing from
exprare dropped.- cell_type
cell type of each column of
expr.