getnLRloops_rand: Construct a specified number of random LRloop networks...

Description Usage Arguments Value

View source: R/getnLRloops_rand.R

Description

Construct a specified number of random LRloop networks between ct1 and ct2.

Usage

1
getnLRloops_rand(n, lr_ct1_to_ct2, lr_ct2_to_ct1, LRloops)

Arguments

n

Number of random LRloop networks to be constructed.

lr_ct1_to_ct2

A matrix with columns "from" and "to" of ligand-receptor pairs from ct1 to ct2.

lr_ct2_to_ct1

A matrix with columns "from" and "to" of ligand-receptor pairs from ct2 to ct1.

LRloops

The original LRloop network of all possible LRloops btween ct1 and ct2 of the LRpairs in lr_network.

Value

LRloops_rand: A list of n random LRloop networks.


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