LRscore: Calculate the LRscore of an L-R pair

Description Usage Arguments Value

View source: R/LRscores.R

Description

Calculate the LRscore of an L-R pair

Usage

1
LRscore(L, R, m, method)

Arguments

L

the ligand value used for the calculation of the LRscore

R

the receptor value used for the calculation of the LRscore

m

plays the role of a scalar in the calculation of the LRscore when the calculation method is set to 'scsigr' or individual_scale'

method

The method of calculating the LRscore, available options are 'mean', 'individual_scale', 'individual_scale_exp', 'product', 'bias_receptor' and 'scsigr'. The method 'scsigr' was introduced in SingleCellSignalR.

Value

The LRscore of an L-R pair


Pinlyu3/LRLoop documentation built on Jan. 7, 2022, 3:04 p.m.