makeSignMatrixDWLS
¶
makeSignMatrixDWLS
Description¶
- Function to convert a matrix within a Giotto object into a format
that can be used with ``runDWLSDeconv` <#rundwlsdeconv>`_ . A vector of cell types for cell_type_vector can be created from the cell metadata (pDataDT).
Usage¶
makeSignMatrixDWLS(
gobject,
expression_values = c("normalized", "scaled", "custom"),
reverse_log = TRUE,
log_base = 2,
sign_gene,
cell_type_vector,
cell_type = NULL
)
Arguments¶
Argument |
Description |
---|---|
|
Giotto object of single cell |
|
expression values to use |
|
reverse a log-normalized expression matrix |
|
the logarithm base (deafult = 2) |
|
all of DE genes (signature) |
|
vector with cell types (length = ncol(matrix)) |
|
deprecated, use cell_type_vector |
Value¶
matrix
Seealso¶
``spatialDWLS` <#spatialdwls>`_