CellChat
CellChat copied to clipboard
netVisual circle: ident labels not showing up
Hello! Whenever I run the following code to visualize my interaction weights and numbers, I get a plot that does not have labels on it (attached image)
cellchat <- aggregateNet(cellchat) groupSize <- as.numeric(table(cellchat@idents)) par(mfrow = c(1,1), xpd=TRUE) netVisual_circle(cellchat@net$count, vertex.weight = groupSize, vertex.label.cex = 1, weight.scale = T, label.edge= F, title.name = "Number of interactions") netVisual_circle(cellchat@net$weight, vertex.weight = groupSize, vertex.label.cex = 1, weight.scale = T, label.edge= F, title.name = "Interaction weights/strength")
How can I get a circle plot with labels? Chord plots seem to work fine...
my cellchat@net$count is a matrix with row names and columns that are my idents
I am getting the same issue. For whatever reason, I think if there are too many vertices they labels don't get displayed. Though if someone has a counter-example I am open to another theory; I'm not actually sure.
Hi, I actually encountered the same problem, I have no clue why but plotting to a pdf file works well.