LRscore: Calculation of the LRscore

Description Usage Arguments Value Examples

View source: R/cell_signaling.R

Description

Calculation of the LRscore

Usage

1
LRscore(l, r, s)

Arguments

l

a value (or a vector) of the mean ligand expression in the secreting cluster

r

a value (or a vector) of the mean receptor expression in the receiving cluster

s

a value for scaling the score (usually the mean of the whole read count table, the median or another similar value is possible), must be over 0

Value

a value or a vector

Examples

1
2
3
4
l=1
r=9
s=5
LRscore(l,r,s)

Example output

[1] 0.375

SingleCellSignalR documentation built on Nov. 8, 2020, 5:17 p.m.