LRscore | R Documentation |
Score ligand-receptor interactions
LRscore( expr, LRdb, cluster = NULL, min.pct = 0.1, method = "LRscore", iterations = 100, seed = 123, ... )
expr |
A data frame or matrix of n rows (genes) and m columns (cells) normalized by SCTransform(). |
LRdb |
A dataset with ligand-receptor pairs, such as LR_pair_ath.RDa. |
cluster |
A numeric vector of length m. |
min.pct |
Only test genes that are detected in a minimum fraction of min.pct cells in either of the two populations. Default is 0.1. |
method |
Denotes which test to use. Available options are:
|
iterations |
Ligand-receptor interactions scores were calculated using a permutation test by randomly shuffling the cluster labels if method set Average or Product. Default is 100. |
seed |
Random seed. Default is 123. |
... |
A data frame of the ligand-receptor interactions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.