RASim: Compute Resource Allocation Index Between Two Nodes in PPI...

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

View source: R/TopologicSims.r

Description

Given a network and two nodes, this function will calculate the Resource Allocation Index between the two nodes

Usage

1
RASim(node1, node2, graph)

Arguments

node1

Name of one node in the PPI network.

node2

Name of another node in the PPI network.

graph

A PPI network

Value

The Resource Allocation Index between the two nodes

Author(s)

Yue Deng <anfdeng@163.com>

References

[1] T. Zhou, L. Lv, and Y.-C. Zhang, "Predicting missing links via local information", The European Physical Journal B - Condensed Matter and Complex Systems, vol. 71, no. 4, pp. 623-630, Oct. 2009.

See Also

AASim JaccardSim

Examples

1
2
3
4
  edges <- data.frame(node1=c("1132", "1133", "1134", "1134", "1145", "1147", "1147", "1147"),
                      node2=c("1134", "1134", "1145", "1147", "1147", "1148", "1149", "1133"))
  graph<-igraph::graph.data.frame(edges,directed=FALSE)
  RASim("1134","1147",graph)

ppiPre documentation built on May 30, 2017, 4:33 a.m.