CellChat
CellChat copied to clipboard
netVisual_chord_gene not dividing into sender and reciver
Hi all, I wanted to used the netVisual_chord_gene function like presented in the vignette to visualize all interactions sent from two of my clusters to a third. However, the plot does not divide the circle into senders and reciver (there is not gap), and also shows some interaction going from the senders to one another.
Anyone faced this issue? dont know where could I have messed up something here.... attached are the plot and code:
netVisual_chord_gene(MusFibLR, sources.use = c(2,4), targets.use = 7, legend.pos.x = 15)
whereas I wanted to get something like this:
Thanks
After some further testing, if im ploting at the signlaing pathway level (using the "slot.name = "netP" argument) the groups are divided correctly Which leaves me even more confused as to why this is happening
netVisual_chord_gene(MusFibLR, sources.use = c(2,4), targets.use = c(7), slot.name = "netP", legend.pos.x = 15)
@LaviCor You can run the source code of this function line by line and see why it also retain interactions from unexpected cell pairs. I guess the code need a small change in somewhere.