CellChat icon indicating copy to clipboard operation
CellChat copied to clipboard

Is it possible to specify sample?

Open alexvpickering opened this issue 2 years ago • 1 comments

Thanks for the great package,

Is it possible to account for sample identity in comparison analyses? Results seem to be steered by individual samples. For example this is the setup I have:

  1. cellchat.test: 2 disease samples
  2. cellchat.ctrl: 20 control samples

When I perform comparison analyses as described in the vignette many of the results are driven by a a single disease sample and the ligand/receptor pairs are not consistently differentially expressed between groups. Is there any way to account for sample identity to avoid this?

alexvpickering avatar May 12 '22 18:05 alexvpickering

@alexvpickering CellChar does not support this. One way is that you can run cellchat on each of the disease samples, and then find the intersection between the two samples.

sqjin avatar May 29 '22 22:05 sqjin