subcluster annotation problem
0
0
Entering edit mode
2.0 years ago
Andy ▴ 120

Hello everyone, I hope you guys could help me with this questions. I find some sub clusters for my fibroblast cluster, and I try to give those subcluster a name. But I do not know where I got wrong, and I really hope you guys could help me out. My code and my error messages are:

names(new.fibroblastsubcluster.ids) <- levels(subset_data) Error in names(new.fibroblastsubcluster.ids) <- levels(subset_data) : 'names' attribute [8] must be the same length as the vector [7] subfibro.ids<-c('Fa', 'Fb', 'Fc', 'Fd', 'Fe', 'Fg', 'Fh')

names(subfibro.ids) <- levels(subset_data) Error in names(subfibro.ids) <- levels(subset_data) : 'names' attribute [8] must be the same length as the vector [7] data <- RenameIdents(subset_data, subfibro.ids) Error in RenameIdents.Seurat(subset_data, subfibro.ids) : All arguments must be named with the old identity class

subcluster. Seurat R • 510 views
ADD COMMENT

Login before adding your answer.

Traffic: 2266 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6