View source: R/crosstalk_funs.R
compute_nst_from_matrix | R Documentation |
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.
compute_nst_from_matrix(mat, ligand_receptor_df, seed)
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 |
A data frame with the non-self-talk score for each pair of genes (ligand-receptors).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.