plot.qdg {qdg} | R Documentation |
Plot the outputs of the qdgAlgo and qdgSEM functions.
## S3 method for class 'qdg': plot(x, simple = FALSE, breaks = c(1, 3, 10, 20), col = c(pos.color = "green", neg.color = "red", pheno.color = "yellow", qtl.color = "magenta"), include.qtl = TRUE, ...)
x |
list containing the output of the qdgAlgo or qdgSEM functions. |
simple |
plot a simple graph (no QTL nodes, color or varying node size or arrow thickness). |
breaks |
control the thickness of the arrows according to the values of the LOD scores. Must be a vector of length four. |
col |
color of the arrows. When plotting from qdgSEM green and red arrows represent positive and negative path coefficients, respectively. Arrows are black by default when plotting from qdgAlgo. |
include.qtl |
If TRUE, the QTL nodes are included in the plot. |
... |
Plot arguments (not used). |
Create directed graph as an object of Class
graphNEL-class
and
plot it. Size of a node is proportional to its degree (number of connections).
graphNEL-class
,
qdgAlgo
, qdgSEM
## Not run: example(acyclic) example(cyclica) example(cyclicb) example(cyclicc) ## End(Not run)