Gradient Biotech
U

Menu

Cell-cell communication

Cell-cell communication analysis identifies ligand-receptor interactions across TME cell populations and compares signaling patterns between conditions.

Algorithms are ported from CellPhoneDB, NicheNet, and CellChat reference implementations in products/oncology/applications/.

Prerequisites

  • Per-cell expression CSV with cell_id and gene columns
  • Metadata CSV with cell_id, cell_type, and optional condition for comparison
  • Optional custom ligand-receptor pair table (defaults to built-in database)

Launching the pipeline

Open the study Communication page or dispatch via API:

curl -X POST http://localhost:8001/oncology/jobs/cell-communication \
  -H "Content-Type: application/json" \
  -d '{
    "study_id": "your-study-id",
    "parameters": {
      "expression_path": "/path/to/expression.csv",
      "metadata_path": "/path/to/metadata.csv",
      "cell_type_column": "cell_type",
      "condition_column": "condition",
      "condition_a": "baseline",
      "condition_b": "treated",
      "permutations": 100,
      "top_n": 100
    }
  }'

Key parameters

ParameterDefaultPurpose
expression_pathPer-cell expression matrix CSV
metadata_pathCell metadata with type and condition labels
ligand_receptor_pathbuilt-inCustom LR pair database
cell_type_columncell_typeColumn name for cell type labels
condition_columnColumn for condition comparison
condition_a, condition_bGroups to compare
min_cells2Minimum cells per type for scoring
min_expression_fraction0.1Minimum fraction of cells expressing a gene
permutations0Permutation count for p-value estimation
top_n100Maximum interactions returned

Outputs

OutputDescription
interactionsScored ligand-receptor pairs with sender/receiver cell types
pathwaysPathway-level aggregated signaling scores
networkSender/receiver adjacency for network visualization
ligand_activityNicheNet-style ligand activity scores
condition_comparisonTop interaction score deltas between conditions

The frontend Communication page renders sender/receiver heatmaps, chord diagrams, and pathway summaries from these artifacts.

Typical use cases

  • Compare immunosuppressive signaling between responders and non-responders
  • Identify dominant cytokine axes in post-treatment samples
  • Map co-stimulatory vs. checkpoint signaling across TME compartments

Next steps