role_sim {ILSM} | R Documentation |
Similarity of roles of interconnecting species
Description
The average of Similarity of 65 roles of interconnecting species of multilayer network.
Usage
role_sim(spe_role_mat)
Arguments
spe_role_mat |
A matrix of 65 columns representing the roles of interconnecting species in the motifs. Columns names are Role1, Role2, Role3 ... Role70. |
Details
spe_role_mat
Should acquire from function motif_role
.
Value
Return a numeric value.
Examples
set.seed(12)
d <- build_net(11,22,21,0.2)
mr <- icmotif_role(d)
role_sim(mr)
set.seed(1)
D <- build_net(11,22,21,0.2)
role_sim(icmotif_role(D))
[Package ILSM version 1.0.3.1 Index]