Plots a cm_distance object
Plots a cm_distance object.
## S3 method for class 'cm_distance' plot( x, digits = 3, constant = 1, label.dist = FALSE, layout = igraph::layout.fruchterman.reingold, label.cex = 1, label.cex.scale.by.n = FALSE, alpha = NULL, label.color = "black", use.vertex.shape = FALSE, arrow.size = 0.6, ... )
x
: A cm_distance object.digits
: The number of digits to use if distance labels are included on the edges.constant
: A constant to weight the edges by.label.dist
: logical. If TRUE
distance measures are placed on the edges.layout
: A layout; see layout
.label.cex
: A constant to use for the label size.label.cex.scale.by.n
: logical. If TRUE
the label size is scaled by the number of uses of the code.alpha
: The cut off value for pvalue inclusion of edges.label.color
: Color of the vertex labels.use.vertex.shape
: logical. If TRUE
the vertex label if plotted on a circle.arrow.size
: The size of the arrows. Currently this is a constant, so it is the same for every edge.layout
.Returns the igraph
object.
This plotting method is not particularly well developed. It is suggested that the user further develop the graph via direct use of the igraph
package.