addExpressionMatrix.Rd
Adds an expression matrix to the object's data slot and
makes it available for all SPATA-intern function. Use setActiveExpressionMatrix()
to denote it as the default to use.
addExpressionMatrix(object, expr_mtr, mtr_name, of_sample = "")
A valid spata-object.
A matrix in which the rownames correspond to the gene names and the column names correspond to the barcode-spots.
A character value that denotes the name of the exprssion matrix with which one can refer to it in subsequent functions.
This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.
The input spata2
object containing the added or computed
results.