Description Usage Arguments Value Author(s) Examples
This function extracts necessary information of graphs for kernel computation.
1 | GetGraphInfo(g)
|
g |
an |
a list of graph information with the following elements:
edge |
a matrix of edges with their labels |
vlabel |
a vector of vertex labels |
vsize |
the number of vertices |
esize |
the number of edges |
maxdegree |
the maximum degree |
Mahito Sugiyama
1 2 | data(mutag)
ginfo <- GetGraphInfo(mutag[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.