A list containing graph data. This list must have the following components:
sA An adjacency matrix or a sparse Matrix representation of the graph.
xy A matrix or dataframe containing the x and y coordinates of each node in the graph.
f
Signal to plot.
size
Numeric. Dot size for nodes. Default is 0.75.
limits
Set colormap limits.
...
Additional arguments passed to guide_colourbar to customize the colorbar appearance (see ?guide_colourbar for more details).
Details
This function allows visualization of a graph signal f superimposed on the structure of a graph defined by z. It offers an intuitive way to analyze the behavior of graph signals in the vertex domain. The appearance of the colorbar can be customized by passing additional arguments that are available for ggplot2::guide_colourbar.