graph-coerce-api: API for coercing graph representations

Description Usage Arguments Details Synonymous functions Author(s) See Also

Description

API for coercing graph representations.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
g_gn2dm_(object)

g_gn2sm_(object)

g_gn2ig_(object)

g_dm2gn_(object)

g_dm2sm_(object)

g_dm2ig_(object)

g_sm2gn_(object)

g_sm2dm_(object)

g_sm2ig_(object)

g_ig2gn_(object)

g_ig2dm_(object)

g_ig2sm_(object)

g_xm2gn_(object)

g_xm2ig_(object)

g_xm2dm_(object)

g_xm2sm_(object)

g_xm2xm_(object, result = "matrix")

g_gn2xm_(object, result = "matrix")

g_gn2ftM_(object)

g_gn2tfM_(object)

graphNEL2adjMAT(object, result = "matrix")

Arguments

object

An object representing a graph

result

Either 'matrix' (dense) or 'dgCMatrix' (sparse, can be abbreviated to 'Matrix').

Details

No checking is made. In the function the following names are used:

* "ig": "igraph";

* "gn": "graphNEL";

* "sm": "dgCMatrix" (sparse matrix);

* "dm": "matrix" (dense matrix)

Synonymous functions

For backward compatibility with downstream packages we have the following synonymous functions:

* graphNEL2adjMAT = g_gn2xm_ (Used in HydeNet)

* graphNEL2M = g_gn2xm_ (Used in simPATHy)

* M2graphNEL = g_xm2gn_ (Used in simPATHy)

Author(s)

Søren Højsgaard, sorenh@math.aau.dk

See Also

ug, dag


DataSciBurgoon/gRbase documentation built on March 25, 2020, 12:03 a.m.