Entering edit mode
3.5 years ago
LacquerHed
▴
30
Have Seurat object metadata where clusters and sub-clusters are numbered only, wondering how I can change those numbers to the names of the clusters in the metadata. Thanks.
The way your question is formulated is confusing, as it is not clear what you want to achieve. Add an example of how your metadata looks like (e..
head(srtObject@meta.data)
), and specify which columns you are talking about. If you want to label the clusters by a different column, already in the table, you can useIdents(srtObject) <- new_column
.