Learn R Programming

HiveR (version 0.2.44)

plotHive: Create a hive plot (2D or 3D)

Description

These functions plot a HivePlotData object in either 2D or 3D, depending upon which function is called.

Usage

plotHive(HPD, ch = 1, method = "abs", dr.nodes = TRUE, bkgnd = "black",
	axLabs = NULL, axLab.pos = NULL, axLab.gpar = NULL,
	anNodes = NULL, anNode.gpar = NULL,
	grInfo = NULL,
	arrow = NULL, np = TRUE, anCoord = "local", ...)

plot3dHive(HPD, ch = 1, dr.nodes = TRUE, method = "abs", axLabs = NULL, axLab.pos = NULL, LA = FALSE, ...)

Arguments

HPD
An object of S3 class HivePlotData.
ch
Numeric; the size of the central hole in the hive plot.
method
Character. Passed to manipAxis (see there for allowed values - the default given above plots using the native or absolute coordinates of the data).
dr.nodes
Logical; if TRUE nodes will be drawn.
bkgnd
Any valid color specification. Used for the background color for plotHive.
axLabs
A vector of character strings for the axis labels.
axLab.pos
Numeric; An offset from the end of the axis for label placement. Either a single value or a vector of values. If a single value, all labels are offset the same amount. If a vector of values, there should be a value for each axis. This allows flexibili
axLab.gpar
(Applies to plotHive only) A list of name - value pairs acceptable to gpar. These control the label and arrow displays. See the examples.
anNodes
(Applies to plotHive only) The path to a csv file containing information for labeling nodes. If present, a line segment will be drawn from the node to the specified text. The text is positioned near the end of the line segment. The columns