getMatrix | R Documentation |
Extracts a matrix or multiple matrices of molecular data.
getMatrix(object, mtr_name = NULL, ...)
## S4 method for signature 'SPATA2'
getMatrix(object, mtr_name = NULL, assay_name = activeAssay(object))
## S4 method for signature 'MolecularAssay'
getMatrix(object, mtr_name = NULL)
getMatrices(object, ...)
## S4 method for signature 'SPATA2'
getMatrices(object, assay_name = activeAssay(object), ...)
## S4 method for signature 'MolecularAssay'
getMatrices(object, ...)
object |
An object of class |
mtr_name |
Character value. The name of the matrix to extract. If
|
... |
Used to absorb deprecated arguments or functions. |
assay_name |
Only relevant if the |
A numeric matrix with rownames corresponding to molecule names and
column names corresponding to barcodes. Or a named list of such in
case of getMatrices()
.
getCountMatrix()
to extract raw counts without additional argument
specification required, getMatrixNames()
for a vector of all matrix names of
an assay, getProcessedMatrixNames()
for a vector of all processed matrix of an assay.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.