View source: R/func__networkAnalyser__compEdgeOccur.R
compEdgeOccur | R Documentation |
Compute a matrix of Simpson's similarity coefficients for the presence of edges.
compEdgeOccur(net, apam, directed = TRUE)
net |
A Graph object created by the function mkNetwork for a single network. It has three attributes: id, E and V. Required columns of E are "y" and "x", which are vertex names. |
apam |
Allelic presence-absence matrix. Rows: strain names; columns: allele names. |
directed |
A logical argument specifying whether net stores a directed network. Default: TRUE. |
A list of three elements: net, an undirected network converted from the input network; es, a data frame of edge pairs; sim, the similarity matrix for edges, which is a symmetric matrix.
Yu Wan (wanyuac@126.com)
compEdgeOccur
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.