sourcestargets: Create source target list for each interaction.

View source: R/sourcestargets_CellComm.R

sourcestargetsR Documentation

Create source target list for each interaction.

Description

For each interaction above the threshold, create a list of receptors, containing cell surface receptor as sources and the transcriptional regulators as targets; a list of ligands, sources as ligands and targets as transcriptional regulators; and a data frame of ligands, receptors, and interaction value.

Usage

sourcestargets(matrix, threshold, tfs)

Arguments

matrix

data frame; the interaction matrix as calculated by the interactionmatrix function.

threshold

numeric; select the interactions which values are above the threshold.

tfs

character vector; the transcription factors.

Value

list; the receptor, the ligand, and interaction data frame for each interaction.


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