ShellyCoder / cellcall

inferring cell-cell communication from scRNA-seq of ligand-receptor
77 stars 20 forks source link

Error in creating from Seurat object #11

Closed kasumaz closed 3 years ago

kasumaz commented 3 years ago

Hi, I started to use this. I have ran into 1-2 problems already. When working with a seurat object, I cant use the active.ident column which contains the name of the actual clusters rather than cluster number.

test <- CreateObject_fromSeurat(Seurat.object="comb4",

Only if I use the orig.ident this works. Is there a way I call for the active.ident ? Or is it that I should go back to the seurat object and then make a completely new idents class which stores this info in the metadata and then select in cell=type as above? Or something I can do to work around this? I also have about 25 different clusters, of which I want to focus on 8 of them. Perhaps 4 at a time in the same way as the tutorial I guess.

Thanks a lot. K