calculateObservedMean: Mean expression between ligands and receptors.

View source: R/calculateObservedMean_CellComm.R

calculateObservedMeanR Documentation

Mean expression between ligands and receptors.

Description

Calculate mean gene expression between ligand and receptor of each interaction in the

Usage

calculateObservedMean(interactions, mean.expr)

Arguments

interactions

data frame; the interactions as calculated by the population.pairing function.

mean.expr

list; the statistics of the expressed genes as calculated by the computeValue method of CellRouter.

Value

data frame; the same as returned by the population.pairing function, interactions with celltype1, celltype2, pair, ligand, and receptor, plus the columns of mean ligand expression (mean.ligand), mean receptor expression (mean.receptor), and mean pair expression (mean).


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.