Sets or updates expression counts in the Sparse slot of an ScMaSigPro object.

# S4 method for ScMaSigPro,character,matrix
eSparse(object, i = "counts") <- value

Arguments

object

An ScMaSigPro object to be modified.

i

The name of the assay for which to set or update expression counts. Must be provided as a character string.

value

The new expression data to set for the specified assay.

Value

The modified ScMaSigPro object with the updated or new expression data in the Sparse slot.

See also

eSparse for retrieving expression counts from the Sparse slot.