Learn R Programming

SeuratObject (version 5.0.2)

RenameAssays: Rename assays in a Seurat object

Description

Rename assays in a Seurat object

Usage

RenameAssays(
  object,
  assay.name = NULL,
  new.assay.name = NULL,
  verbose = TRUE,
  ...
)

Value

object with assays renamed

Arguments

object

A Seurat object

assay.name

original name of assay

new.assay.name

new name of assay

verbose

Whether to print messages

...

Named arguments as old.assay = new.assay

Examples

Run this code
RenameAssays(object = pbmc_small, RNA = 'rna')

Run the code above in your browser using DataLab