saeyslab / nichenetr

NicheNet: predict active ligand-target links between interacting cells
469 stars 117 forks source link

About question in "Perform NicheNet analysis with prioritization" vignette #231

Closed wang2034 closed 11 months ago

wang2034 commented 1 year ago

Hi, Thanks for developing this great tool. I have a question in prioritization analysis. In line 234, the R-script is "celltypes <- unique(seuratObj$celltype)" Can any one who did this analysis before explain this code? What is the function of the variable "celltypes"? Thanks

csangara commented 11 months ago

Hi, It seems the variable was left there from an earlier version of the vignette. It is indeed not necessary. I've now removed it, thanks for the catch!