return_links: return_links

Description Usage Arguments Value Examples

View source: R/zelda.R

Description

zelda Takes two lists of genes and finds the receptor-ligand relations (links) between them. Plots a bipartite plot of the found genes. Returns a bipartite network of the connections.

Usage

1
return_links(receptors, ligands, database = "ramilowski_links")

Arguments

receptors

A list of genes containing putative receptors

ligands

A list of genes containg putative ligands

database

The database to be used to find the links. Defaults to "ramilowski_links". Other options: "cellphone_db_links"; "all"

Value

Returns a dataframe with the lists found in the databases.

Examples

1
2
3
4
 receptor_candidates <- c("CD3", "AIF", "CCR3", "CXCR3")
 ligand_candidates <- c("TP53", "NFKB1", "CXCL9")
 links <- return_links(receptor_candidates, ligand_candidates, database = "all")
 head(links)

lubianat/zelda documentation built on Dec. 5, 2019, 3:26 a.m.