Description Usage Arguments Value Examples
Produce a static color visualization of the Ball Mapper graph. It is based on the output from BallMapper function.
1 2 3 4 5 6 | ColorIgraphPlot(outputFromBallMapper, showVertexLabels = TRUE,
showLegend = FALSE, minimal_ball_radius = 7,
maximal_ball_scale = 20, maximal_color_scale = 10,
seed_for_plotting = -1, store_in_file = "",
default_x_image_resolution = 512, default_y_image_resolution = 512,
number_of_colors = 100)
|
outputFromBallMapper, |
an output from the BallMapper function |
showVertexLabels, |
a boolean value determining if the vertex labels are to be shown (TRUE by default). |
showLegend, |
a boolean value determining if the legend is to be shown (FALSE by default). |
minimal_ball_radius, |
provide a minimal value of the radius of balls used in visualization (7 by default). |
maximal_ball_scale, |
provide a maximal value of the radius of balls used in visualization (20 by default). |
maximal_color_scale, |
Provide a maximal value (starting from 0) of the color of a ball (10 by default). |
seed_for_plotting, |
if set to the same number will suspend the fandom argument in the ploting rountine and produce plots with the same layout everytime. |
store_in_file |
if set to a string, will open a png file, and store the plot therein. By default it is set to an empty string. |
default_x_image_resolution |
store a default resolution of image in x direction. Set to 512 by default. |
default_y_image_resolution |
store a default resolution of image in y direction. Set to 512 by default. |
number_of_colors |
store a number of colors used in the plot. |
None.
1 2 3 4 5 6 | var <- seq(from=0,to=6.3,by=0.1)
points <- as.data.frame( cbind( sin(var),cos(var) ) )
values <- as.data.frame( sin(var) )
epsilon <- 0.25
l <- BallMapper(points,values,epsilon)
ColorIgraphPlot(l)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.