This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Editing Seurat object metadata

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.

scrna-seq seurat snrna-seq

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 use Idents(srtObject) <- new_column.

0 answers

No answers yet.

Log in to answer this question.