`eSparse<-` is a generic function for setting expression counts in the Sparse slot of an ScMaSigPro object.

eSparse(object, i = "counts") <- value

Arguments

object

An object of class ScMaSigPro.

i

The name of the assay for which to set expression counts. Default is "counts", which targets the default expression counts slot.

value

The new expression matrix to be set for the specified assay.

Value

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

Author

Priyansh Srivastava spriyansh29@gmail.com