compute_nst_from_matrix: Compute non-self talk scores from matrix

View source: R/crosstalk_funs.R

compute_nst_from_matrixR Documentation

Compute non-self talk scores from matrix

Description

Calculates the non-self talk scores (also refered to as mutual information distances) for each ligand-receptor pair using the normalized expression matrix for a given cell type. It expects log-transformed expression values.

Usage

compute_nst_from_matrix(mat, ligand_receptor_df, seed)

Arguments

mat

A matrix containing the log-transformed normalized expression values.

ligand_receptor_df

A data frame with, at least, two columns named 'ligand' and 'receptor' containing the ligand-receptor pairs to evaluate

seed

random seed

Value

A data frame with the non-self-talk score for each pair of genes (ligand-receptors).


saezlab/liana documentation built on Aug. 10, 2024, 8:14 a.m.