get_expr_lr: Identify "expressed" ligand-receptor pairs

Description Usage Arguments Value

View source: R/get_expr_lr.R

Description

Identify "expressed" ligand-receptor pairs

Usage

1
get_expr_lr(lr_network, thresh_expr_from, thresh_expr_to, conditions)

Arguments

lr_network

A ligand-receptor network in matrix with two columns "from" and "to".

thresh_expr_from

A matrix of 0s and 1s, indicates whether each gene is "expressed" in each condition in the sender cells of this step

thresh_expr_to

A matrix of 0s and 1s, indicates whether each gene is "expressed" in each condition in the receiver cells of this step

conditions

A vector of conditions of interest

Value

lr_expr: A list with two elements: lr_expr$eachcondition: A list, each element is a ligand-receptor network matrix with two columns "from" and "to" containing "expressed" ligand-receptor pairs in one condition lr_expr$bind: A ligand-receptor matrix with two columns "from" and "to" containing "expressed" ligand-receptor pairs in at least one condition


Pinlyu3/LRLoop documentation built on Jan. 7, 2022, 3:04 p.m.