Description Usage Arguments Value Examples
View source: R/seurat_wrapper.R
Function to access object data
1 2 3 4 5 6 7 8 9 10 | object_data(object, ...)
## S3 method for class 'seurat'
object_data(object, slot, ...)
## S3 method for class 'Seurat'
object_data(object, slot, ...)
## S3 method for class 'SingleCellExperiment'
object_data(object, slot, ...)
|
object |
object after tsne or umap projections and clustering |
... |
additional arguments |
slot |
data to access |
expression matrix, with genes as row names, and cell types as column names
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | mat <- object_data(
object = s_small,
slot = "data"
)
mat[1:3, 1:3]
mat <- object_data(
object = s_small3,
slot = "data"
)
mat[1:3, 1:3]
mat <- object_data(
object = sce_small,
slot = "data"
)
mat[1:3, 1:3]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.