git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Rgraphviz@88840 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,142 @@ |
1 |
+importClassesFrom(graph, graph) |
|
2 |
+ |
|
3 |
+importClassesFrom(methods, ANY, character, externalptr, integer, list, |
|
4 |
+ logical, missing, numeric, vector) |
|
5 |
+ |
|
6 |
+importMethodsFrom(graph, edgeData, "edgeData<-", |
|
7 |
+ edgeDataDefaults, "edgeDataDefaults<-", edgeL, |
|
8 |
+ edgeMatrix, edgemode, edgeNames, nodeData, |
|
9 |
+ "nodeData<-", nodeDataDefaults, "nodeDataDefaults<-", |
|
10 |
+ nodes, numNodes) |
|
11 |
+ |
|
12 |
+importMethodsFrom(methods, show) |
|
13 |
+ |
|
14 |
+importMethodsFrom(stats4, plot) |
|
15 |
+ |
|
16 |
+importFrom(graph, edgeRenderInfo, "edgeRenderInfo<-", graph.par, |
|
17 |
+ graph.par.get, graphRenderInfo, "graphRenderInfo<-", |
|
18 |
+ nodeRenderInfo, "nodeRenderInfo<-", parRenderInfo, |
|
19 |
+ validGraph) |
|
20 |
+ |
|
21 |
+importFrom(graphics, arrows, lines, par, plot.new, plot.window, |
|
22 |
+ polygon, rect, strheight, strwidth, symbols, text, |
|
23 |
+ title) |
|
24 |
+ |
|
25 |
+import(grDevices) |
|
26 |
+ |
|
27 |
+importFrom(grid, bezierPoints, convertHeight, convertWidth, |
|
28 |
+ current.viewport, current.vpTree, popViewport, pushViewport, |
|
29 |
+ unit) |
|
30 |
+ |
|
31 |
+importFrom(methods, is, slot) |
|
32 |
+ |
|
33 |
+importFrom(utils, head, tail) |
|
34 |
+ |
|
35 |
+ |
|
36 |
+export( |
|
37 |
+ agopen, |
|
38 |
+ agopenSimple, |
|
39 |
+ agread, |
|
40 |
+ agwrite, |
|
41 |
+ buildEdgeList, |
|
42 |
+ buildNodeList, |
|
43 |
+ checkAttrs, |
|
44 |
+ drawAgNode, |
|
45 |
+ drawTxtLabel, |
|
46 |
+ getDefaultAttrs, |
|
47 |
+ getNodeLabels, |
|
48 |
+ getNodeNames, |
|
49 |
+ graphvizVersion, |
|
50 |
+ graphvizCapabilities, |
|
51 |
+ graphLayout, |
|
52 |
+ makeNodeAttrs, |
|
53 |
+ pieGlyph, |
|
54 |
+ removedEdges, |
|
55 |
+ toFile, |
|
56 |
+ layoutGraph |
|
57 |
+ ) |
|
58 |
+ |
|
59 |
+exportClasses( |
|
60 |
+ "AgEdge", |
|
61 |
+ "AgNode", |
|
62 |
+ "AgTextLabel", |
|
63 |
+ "BezierCurve", |
|
64 |
+ "boundingBox", |
|
65 |
+ "pEdge", # plot, related to buildEdgeList only |
|
66 |
+ "pNode", # plot, related to buildNodeList only |
|
67 |
+ "Ragraph", |
|
68 |
+ "xyPoint" |
|
69 |
+ ) |
|
70 |
+ |
|
71 |
+exportMethods( |
|
72 |
+ graphDataDefaults, |
|
73 |
+ "graphDataDefaults<-", |
|
74 |
+ graphData, |
|
75 |
+ "graphData<-", |
|
76 |
+ clusterData, |
|
77 |
+ "clusterData<-", |
|
78 |
+ nodeDataDefaults, |
|
79 |
+ "nodeDataDefaults<-", |
|
80 |
+ nodeData, |
|
81 |
+ "nodeData<-", |
|
82 |
+ edgeDataDefaults, |
|
83 |
+ "edgeDataDefaults<-", |
|
84 |
+ edgeData, |
|
85 |
+ "edgeData<-", |
|
86 |
+ |
|
87 |
+ # Ragraph + |
|
88 |
+ "AgEdge<-", |
|
89 |
+ "AgEdge", |
|
90 |
+ "AgNode<-", |
|
91 |
+ "AgNode", |
|
92 |
+ "agraph", |
|
93 |
+ "arrowhead", |
|
94 |
+ "arrowsize", |
|
95 |
+ "arrowtail", |
|
96 |
+ "bezierPoints", |
|
97 |
+ "bLines", |
|
98 |
+ "botLeft", |
|
99 |
+ "boundBox", |
|
100 |
+ "color", |
|
101 |
+ "cPoints", |
|
102 |
+ "edgemode", |
|
103 |
+ "edgeNames", |
|
104 |
+ "ep", |
|
105 |
+ "fillcolor", |
|
106 |
+ "from", # plot only |
|
107 |
+ "getNodeCenter", |
|
108 |
+ "getNodeHeight", |
|
109 |
+ "getNodeLW", |
|
110 |
+ "getNodeRW", |
|
111 |
+ "getNodeXY", |
|
112 |
+ "getNodeXY", |
|
113 |
+ "getPoints", |
|
114 |
+ "getSpline", |
|
115 |
+ "getX", |
|
116 |
+ "getY", |
|
117 |
+ "head", |
|
118 |
+ "labelColor", |
|
119 |
+ "labelFontsize", |
|
120 |
+ "labelJust", |
|
121 |
+ "labelLoc", |
|
122 |
+ "labelText", |
|
123 |
+ "labelWidth", |
|
124 |
+ "laidout", |
|
125 |
+ "layoutType", |
|
126 |
+ "lines", |
|
127 |
+ "name", # plot |
|
128 |
+ "numSplines", |
|
129 |
+ "plot", # graph only |
|
130 |
+ "pointList", |
|
131 |
+ "shape", |
|
132 |
+ "show", |
|
133 |
+ "sp", |
|
134 |
+ "splines", |
|
135 |
+ "style", |
|
136 |
+ "tail", |
|
137 |
+ "to", # plot only |
|
138 |
+ "toDot", # graph only |
|
139 |
+ "txtLabel", |
|
140 |
+ "upRight", |
|
141 |
+ "renderGraph" |
|
142 |
+ ) |