The ENAplot R6 class provides a structure for visualizing ENAset objects using plotly. It encapsulates the ENAset data, the plotly visualization, and related plotting parameters.
Fields
- enaset
The
ENAsetobject from which the ENAplot was constructed.- plot
The plotly object used for data visualization.
- axes
Axes information for the plot (TBD).
- point
Point information for the plot (TBD).
- palette
Color palette used for plotting (TBD).
- plotted
Indicates whether the plot has been rendered (TBD).
Public fields
enaset- The
ENAsetobject from which the ENAplot was constructedplot- The plotly object used for data visualization
axesA list or object specifying the axes configuration for the ENA plot, such as axis labels, limits, or scaling.
pointA structure representing the data points to be plotted, including coordinates and visual properties.
paletteA set of colors or a function defining the color scheme used for plotting elements in the ENA plot.
plottedA logical or status indicator showing whether the plot has been rendered or updated.
showticklabelsLogical. Indicates whether to show tick labels on the axes.
autosizeLogical. Indicates whether the plot should automatically resize.
automarginLogical. Indicates whether the plot should automatically adjust margins.
axispaddingNumeric. Padding factor for the axes. Create ENApolot
Methods
Method new()
Arguments
enasetAn ENA set object containing the data to be plotted.
titleThe title of the plot.
dimension.labelsLabels for the dimensions shown in the plot.
font.sizeNumeric value specifying the font size for plot text.
font.colorColor value for the plot text.
font.familyFont family to use for plot text.
scale.toNumeric value to scale the plot axes.
...Additional arguments passed to the plotting function. #'
showticklabelsLogical; whether to display axis tick labels.
autosizeLogical; whether the plot should automatically size itself.
automarginLogical; whether the plot should automatically adjust margins.
axispaddingNumeric value specifying padding around axes.
