netSEs: Calculate the structural equivalence of paired nodes

Description Usage Arguments Details Value Examples

View source: R/netSEs.R

Description

Calculate the structural equivalence of paired nodes

Usage

1
netSEs(net1, net2, nodes, method = "cosine")

Arguments

net1

The input network, which should be a graph object

net2

The input network, which should be a graph object

nodes

The paired nodes between two networks

method

The similarity measure to be used. This must be "cosine" or "euclidean".

Details

netSEs(net1,net2,nodes,method='cosine')

Value

A vector of similarity value

Examples

1
2
3
 paired<-nodesCom(TCGA-AF-2687.net, TCGA-A6-2686.net)

 netSEs(TCGA-AF-2687.net, TCGA-A6-2686.net, paired)

QiliShi/NetworkSim documentation built on July 23, 2019, 12:46 a.m.