RenameCells: Rename cells
Description
Change the cell names in all the different parts of a Seurat object. Can
be useful before combining multiple objects.
Usage
RenameCells(object, add.cell.id = NULL, new.names = NULL,
for.merge = FALSE)
Arguments
for.merge
Only rename slots needed for merging Seurat objects.
Currently only renames the raw.data and meta.data slots.
Value
Seurat object with new cell names
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.