Ac3net.commonlinks: Find the common links between the network lists.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/Ac3net.commonlinks.R

Description

Ac3net.commonlinks takes two network list matrices and returns directional or undirectional common pairs between the two regarding the first two columns of the networks.

Usage

1
Ac3net.commonlinks(net1,net2, directed=TRUE)

Arguments

net1

A matrix that represents the links between two variables at each row. Namely, the element at row i and column 1 and the element at row i and column 2 are assumed to be paired or linked. There is no connection assumed among rows.

net2

A matrix that represents the links between two variables at each row. Namely, the element at row i and column 1 and the element at row i and column 2 are assumed to be paired or linked. There is no connection assumed among rows.

directed

It is TRUE by default, which means there is directionality assumed from column 1 to column 2 at each matrices. Therefore common links are the directionale common links. If it is FALSE, then the pairs assumed to be undirectional and all the common pairs are taken as common. E.g. If there is A–B in net1 and B–A in net2 then they are considered as common.

Details

Ac3net.commonlinks takes two network list matrices and based on the first two columns it makes comparison. If the argument directed is equal to TRUE, as in the default case, the it returns only directionally common pairs from column 1 to column 2 of the matrices. E.g. For a pair of A–>B in the first network, if there is also A–>B in the second network then it is taken as common but the opposite direction B–>A is not counted. If the argument directed is equal to FALSE, then B–>A is also counted, namely all the common pairs, with no directional considerations, is taken as common between the two network.

Value

Ac3net.commonlinks returns a network matrix that correspond to the common pairs between net1 and net2.

Author(s)

Gokmen Altay

References

G. Altay,"Directed Conservative Causal Core Gene Networks", bioRxiv, 2018. G. Altay, F. Emmert-Streib, "Inferring the conservative causal core of gene regulatory networks", BMC Systems Biology (2010) 4:132.

See Also

Ac3net.maxmim, Ac3net.cutoff,

Examples

1
2
3
# net1
# net2
# net <- Ac3net.commonlinks(net1,net2, directed=TRUE)

Ac3net documentation built on May 2, 2019, 6:54 a.m.