Calculate complex interactions by combining its subunits. Each complex is named by its subunits saperated by semicolon, such as ITGB1:ITGA2. Therefore COL9A2_ITGB1:ITGA2 represents interactions between COL9A2 and ITGB1:ITGA2 complex.
Matchmaker object.
Column names or indices (of @interactions slot) containing complex subunits information for interaction partner_a. Default is subunit_a_1, subunit_a_2, subunit_a_3.
Column names or indices (of @interactions slot) containing complex subunits information for interaction partner_b. Default is subunit_b_1, subunit_b_2, subunit_b_3.
Method to combine complex interaction strengths from its subunits. Default is min (minimum).
min, minimum strength of its subunits.
average, average strength of its subunits.
max, maximum strength of its subunits.
Method to combine complex interaction p values from its subunits. Default is max (maximum).
max, maximum p value of its subunits.
average, average p value of its subunits.
min, minimum p value of its subunits.
Returns a Matchmaker object.
if (FALSE) {
# For example, if CellPhoneDB data is used via LoadCellPhoneDB function,
# the subunits are named as subunit_a_1, subunit_a_2 ...
object <- Complexing(object, strength_comb = "min", pval_comb = "max")
}