GetGraphInfo: Necessary information of graphs for kernel computation

Description Usage Arguments Value Author(s) Examples

View source: R/graphKernels.R

Description

This function extracts necessary information of graphs for kernel computation.

Usage

1

Arguments

g

an igraph graph

Value

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

Author(s)

Mahito Sugiyama

Examples

1
2
data(mutag)
ginfo <- GetGraphInfo(mutag[[1]])

graphkernels documentation built on Dec. 20, 2021, 9:07 a.m.