| findInteractions.single | R Documentation |
Calculate the Interaction Strength for a single interaction pairs.
findInteractions.single(
data,
idents,
ligand,
receptor,
stats = c("mean", "median"),
pair.fxn = c("+", "*"),
threshold = 0,
cutoff = NA
)
data |
Expression data. A d x M matrix with d rows of features and M columns of data points (cells). |
idents |
Cell type identity in characters or factors. |
ligand |
Name or index for ligand. |
receptor |
Name or index for receptor. |
stats |
Method used to calculate strength.
|
pair.fxn |
Functions used to calculate pair strength.
|
cutoff |
Cutoff used to calculate the statistics (mean or median). Default is NA. If set to 0, all 0 values will be removed when calculating mean or median. |
Returns Earth Mover's Distance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.