Retrieves expression counts from the Sparse slot of an
ScMaSigPro
object.
# S4 method for ScMaSigPro
eSparse(object, i = "counts", ...)
An ScMaSigPro
object from which to retrieve expression data.
The name of the assay to retrieve expression counts for. The default value "counts" is a placeholder that results in the method returning the first assay's data found in the Sparse slot.
Additional arguments (not used currently).
An expression matrix for the specified (or first, by default) assay from the Sparse slot.
eSparse<-
for setting expression counts in the Sparse slot.