RenameCells-StdAssay: Rename cells

RenameCells-StdAssayR 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


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.