Modeling the effect of agonist on the ligand-receptor interaction
computeExpr_agonist(
data.use,
pairLRsig,
cofactor_input,
group,
index.agonist,
Kh,
FunMean,
n
)
data matrix
the L-R interactions
the cofactor_input from CellChatDB
a factor defining the cell groups
the index of agonist in the database
a parameter in Hill function
the function for computing mean expression per group
Hill coefficient