RenameCells-StdAssay {SeuratObject} | R Documentation |
Rename cells
Description
Change the cell names in all the different parts of an object. Can be useful before combining multiple objects.
Usage
## S3 method for class 'StdAssay'
RenameCells(object, new.names = NULL, ...)
Arguments
object |
An object |
new.names |
vector of new cell names |
... |
Arguments passed to other methods |
Details
If add.cell.id
is set a prefix is added to existing cell names. If
new.names
is set these will be used to replace existing names.
Value
An object with new cell names
[Package SeuratObject version 5.1.0 Index]