CellChat icon indicating copy to clipboard operation
CellChat copied to clipboard

get net, netP scores per sample

Open jsim91 opened this issue 1 year ago • 0 comments

Hello, I have 58 total samples split into two groups, group A and group B. I have run CellChat separately on each group to identify signaling patterns present in each group. I have run filterCommunication with min.samples set to a value of 5 (for example). I have merged the two groups with mergeCellChat to create various visualizations that show differences between groups.

For each interaction (net) that passes filtering, is there a way to compute or return using an existing CellChat function a score associated with each sample? rankNet with return.data = TRUE is what I have in mind but with scores by sample per net/netP. This would allow me to test the identified interactions for significance between groups. If this feature is not present, I think it would be a very valuable addition, if possible.

One of the groups has time-to-event information. It would be nice to see if any of the interactions found with CellChat by some magnitude and/or specificity measure correlate with time-to-event.

jsim91 avatar Jul 31 '24 22:07 jsim91