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 Nov. 18, 2023, 1:06 a.m.