Skip to contents

This function collates all of the features, receptors, or ligands found in a signaling network anywhere in a list of clusters. This can be useful for comparing signaling networks across two separate conditions. In order to run this build_domino() must be run on the object previously.

Usage

dom_network_items(dom, clusters = NULL, which_return = NULL)

Arguments

dom

a domino() object containing a signaling network (build_domino() was run)

clusters

vector indicating clusters to collate network items from. If left as NULL then all clusters will be included.

which_return

string indicating whether to collate "features", "receptors", or "ligands". If NULL then a list of all three will be returned.

Value

A vector containing all features, receptors, or ligands in the data set or a list containing all three.

Examples

data(DominoObjects)
dom <- DominoObjects$built_dom_tiny
monocyte_receptors <- dom_network_items(dom, "CD14_monocyte", "receptors")
all_tfs <- dom_network_items(dom, which_return = "features")