Rename assays in a Seurat
object
RenameAssays(
object,
assay.name = NULL,
new.assay.name = NULL,
verbose = TRUE,
...
)
A Seurat
object
original name of assay
new name of assay
Whether to print messages
Named arguments as old.assay = new.assay
object
with assays renamed
RenameAssays(object = pbmc_small, RNA = 'rna')
#> Renaming default assay from RNA to rna
#> Warning: Key ‘rna_’ taken, using ‘ocide_’ instead
#> An object of class Seurat
#> 230 features across 80 samples within 1 assay
#> Active assay: rna (230 features, 20 variable features)
#> 3 layers present: counts, data, scale.data
#> 2 dimensional reductions calculated: pca, tsne