Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error of netVisual_bubble plotting #281

Open
jiangxiuhan0310 opened this issue Dec 21, 2024 · 0 comments
Open

Error of netVisual_bubble plotting #281

jiangxiuhan0310 opened this issue Dec 21, 2024 · 0 comments

Comments

@jiangxiuhan0310
Copy link

Hi, thanks for such amazing package. I have encountered one problem when using netVisual_bubble.

netVisual_bubble(cellchat, sources.use = c('0:Epithelial','1:Epithelial','3:Epithelial'), 
                 targets.use = c('0:Macrophages','1:Macrophages','2:Macrophages','3:Macrophages','4:Macrophages',
                                 '5:Macrophages','6:Macrophages'), 
                 comparison = c('ZY','WZY'),
                 remove.isolate = FALSE )

Comparing communications on a merged object 

Error in `levels<-`(`*tmp*`, value = as.character(levels)) : 
  factor level [2] is duplicated

Could you tell me how to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant