# NOT RUN {
cluster_letters <- LETTERS[pbmc_small@ident]
pbmc_small <- AddMetaData(
object = pbmc_small,
metadata = cluster_letters,
col.name = 'letter.idents'
)
head(x = pbmc_small@meta.data)
# }
Run the code above in your browser using DataLab