Description Usage Arguments Value Examples
Produce a static grayscale visualization of the Ball Mapper graph. It is based on the output from the BallMapper function.
1 2 3 4 | GrayscaleIgraphPlot(outputFromBallMapper, showVertexLabels = TRUE,
minimal_ball_radius = 7, maximal_ball_scale = 20,
seed_for_plotting = -1, store_in_file = "",
default_x_image_resolution = 512, default_y_image_resolution = 512)
|
outputFromBallMapper, |
an output from the BallMapper function |
showVertexLabels, |
a boolean value determining if vertex labels are to be shown (TRUE by default). |
minimal_ball_radius, |
provide a minimal value of the radius of balls used in visualization (7 by default). |
maximal_ball_scale, |
provides a maximal value of the radius of the balls used in visualization (20 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. |
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)
GrayscaleIgraphPlot(l)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.