Get LR and downstream pathways and get p value of receptor-related pathways with LR-target genes by the Fisher-exact test.
Arguments
- object
SpaTalk object generated from
dec_cci.- celltype_sender
Name of celltype_sender.
- celltype_receiver
Name of celltype_receiver.
- ligand
Name of ligand from celltype_sender.
- receptor
Name of receptor from celltype_receiver.
- min_gene_num
Min genes number for each pathway.