CellChat
CellChat copied to clipboard
cell types are not in same order from left to right in both datasets when comparing two group of samples
I am comparing two groups of samples using Comparison analysis of multiple datasets using CellChat vignette. While using the "(B) Compare outgoing (or incoming) signaling patterns associated with each cell population" function I am getting
Could you please help What could be the reason the order of cell types from left to right is not matching in X axis? This is further messing up with downstream analysis.
Thank you
I am facing the same issue.
@sqjin do you have a fix for this?
I managed to solve this by
- using the same no of clusters in both objects and,
- sorting/arranging the cluster/celltype in same order in the Seurat object before subjecting them to CellChat