In package HiveR, hive plot data sets are stored as an S3 class called HivePlotData, detailed below.
Arguments
Structure
The structure of a HivePlotData object is a list of 6 elements, some of which are data frames, and an attribute, as follows:
llll{
element(element)typedescription
$nodes data frame Data frame of node properties
$id int Node identifier
$lab chr Node label
$axis int Axis to which node is assigned
$radius num Radius (position) of node along the axis
$size num Node size in pixels
$color chr Node color
$edges data frame Data frame of edge properties
$id1 int Starting node id
$id2 int Ending node id
$weight num Width of edge in pixels
$color chr Edge color
$type chr Type of hive. See Note.
$desc chr Description of data
$axis.cols chr Colors for axes
- attr chr "HivePlotData" The S3 class designation.
}
sumHPD to summarize a HivePlotData object.
chkHPD to verify the integrity of a HivePlotData object.
ranHiveData to generate random HivePlotData objects for testing and demonstration.