gplot | R Documentation |
Wrapper for function renderGraph of the R package Rgraphwiz.
gplot(
graph,
l = "dot",
main = "",
cex.main = 1,
font.main = 1,
color.txt = "black",
fontsize = 16,
cex = 0.6,
shape = "circle",
color = "gray70",
lty = 1,
lwd = 1,
w = "auto",
h = "auto",
psize = 80,
...
)
graph |
An igraph or graphNEL object. |
l |
Any layout supported by |
main |
Plot main title (by default, no title is added). |
cex.main |
Main title size (default = 1). |
font.main |
Main title font (default = 1). Available options are: 1 for plain text, 2 for bold, 3 for italics, 4 for bold italics, and 5 for symbol. |
color.txt |
Node text color (default = "black"). |
fontsize |
Node text size (default = 16). |
cex |
Another argument to control node text size (default = 0.6). |
shape |
Node shape (default = "circle"). |
color |
Node border color (default = "gray70"). |
lty |
Node border outline (default = 1). Available options include: 0 for blank, 1 for solid line, 2 for dashed, 3 for dotted, 4 for dotdash, 5 for longdash, and 6 for twodash. |
lwd |
Node border thickness (default = 1). |
w |
Manual node width (default = "auto"). |
h |
Manual node height (default = "auto"). |
psize |
Automatic node size (default = 80). |
... |
Currently ignored. |
gplot returns invisibly the graph object produced by Rgraphviz
Mario Grassi mario.grassi@unipv.it
gplot(sachs$graph, main = "input graph")
sem <- SEMrun(sachs$graph, sachs$pkc)
gplot(sem$graph, main = "output graph")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.