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


SeuratObject documentation built on May 29, 2024, 12:31 p.m.