getLRLoopPartnerInfo: Get the number and list of LRLoop partners of LRpairs of...

Description Usage Arguments Value

View source: R/getLRLoopPartnerInfo.R

Description

Get the number and list of LRLoop partners of LRpairs of interest.

Usage

1
getLRLoopPartnerInfo(LRpairs, from_to, LRLoop_network)

Arguments

LRpairs

A matirx of the LRpairs of interes with two columns "from" and "to".

from_to

"ct1_to_ct2" or "ct2_to_ct1" specifying if the LRpairs are from ct1 to ct2 or from ct2 to ct1.

LRLoop_network

the LRLoop network between ct1 and ct2.

Value

LR_LRLoopPartnerInfo: A matrix with four columns "from", "to", "num_LRLoopPartner", "LRLoopPartner", in "from" and "to" are the LRpairs of interest, in "num_LRLoopPartner" and "LRLoopPartner" are the number and list of LRLoop partners of the LRpairs. When "num_LRLoopPartner" is 0, the corresponding "LRLoopPartner" is "NA".


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