Obtain count and expression matrix

getExpressionMatrix(object, of_sample = "")

getCountMatrix(object, of_sample = "")

Arguments

object

A valid spata-object.

of_sample

The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen.

Value

The expression/count matrix of the specified object and sample(s).