Description Usage Arguments Details Author(s)
Extract the gene expression matrix from a single-cell data object containing the input data for scClustViz visualization.
1 | getExpr(x, assayType, assaySlot)
|
x |
The single-cell data object. |
assayType |
A length-one character vector representing the assay object in which the expression data is stored in the input object. For Seurat v1 or v2 objects, set this to "". For Seurat v3 objects, this is often "RNA". For SingleCellExperiment objects, this is often "logcounts". See Details for how this argument is used in the accessor functions for each class. |
assaySlot |
An optional length-one character vector representing the
slot of the Seurat v3 |
This is a wrapper function to the relevant class's normalized data slot accessor method. Currently supported input object classes:
Class seurat/Seurat
stored in
x@data
or x@assays[[assayType]]@assaySlot
, depending on Seurat
object version.
Class
SingleCellExperiment
accessed by
assay(x,assayType)
.
Please submit requests for other data objects here!
Contributed by Brendan Innes from the BaderLab/scClustViz package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.