Cells {SeuratObject} | R Documentation |
Cell and Feature Names
Description
Get the cell and feature names of an object
Usage
Cells(x, ...)
Features(x, ...)
## Default S3 method:
Cells(x, ...)
## S3 method for class 'Assay5'
Cells(x, layer = NULL, simplify = TRUE, ...)
## S3 method for class 'Assay5'
Features(x, layer = NULL, simplify = TRUE, ...)
## S3 method for class 'DimReduc'
Cells(x, ...)
## S3 method for class 'Neighbor'
Cells(x, ...)
Arguments
x |
An object |
... |
Arguments passed to other methods |
layer |
Layer to pull cells/features for; defaults to default layer;
if |
simplify |
Simplify the cell/feature names into a single vector; if
|
Value
Cell
: A vector of cell names
Features
: A vector of feature names
See Also
dimnames.Assay()
,
dimnames.Assay5()
,
dimnames.Seurat()
Examples
Cells(x = pbmc_small)
[Package SeuratObject version 5.0.2 Index]