Trouble to find identity
0
0
Entering edit mode
17 months ago
Andy ▴ 120

Hello everyone,

I am trying to find markers under a specific identifier "organ", but I meet a problem.

My code and the error message I received are following:

> table(subset_data@active.ident)

>pancreatic     kidney      liver       lung      skine 

>1017        461        137       1116       9583 

> fibroblast_venn<-subset(subset_data, idents=c("organ"))
Error in WhichCells.Seurat(object = x, cells = cells, idents = idents,  : 
  Cannot find the following identities in the object: organ

Where I got wrong, I think I successfully add organ as an identifier. But why still cannot find it?

Thank you Andy

seurat R • 520 views
ADD COMMENT
0
Entering edit mode

I add the identifier by this command:

>Idents(data)<-"organ"
ADD REPLY

Login before adding your answer.

Traffic: 2686 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