calcStrength: Calculate the Strength for Multiple Interacting Pair.

View source: R/models.R

calcStrengthR Documentation

Calculate the Strength for Multiple Interacting Pair.

Description

Calculate the strength for multiple interacting pair. See details calcStrength.single.

Usage

calcStrength(ligand_mat, receptor_mat, f = c("+", "*"), threshold = 0)

Arguments

ligand_mat

Ligand expression matrix.

receptor_mat

Receptor expression matrix.

f

Functions used to calculate pair strength.

  • +, using sum of the pairs (Default).

  • *, using product of the pairs.

threshold

Threshold used for interaction products. Default is 0, therefore interaction product (ligand*receptor) equal or below 0 will be removed.

Value

Returns a matrix with calculated interacting strength.


stevexniu/scMatchmaker documentation built on June 2, 2022, 12:35 p.m.