calcStrength.single: Calculate the Strength for Each Interacting Pair.

View source: R/models.R

calcStrength.singleR Documentation

Calculate the Strength for Each Interacting Pair.

Description

Calculate the strength for each interacting pair.

Usage

calcStrength.single(ligand, receptor, f = c("+", "*"), threshold = 0)

Arguments

ligand

A ligand expression data.

receptor

A receptor expression data.

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 calculated interacting strength.


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