Learn R Programming

MapperAlgo (version 1.0.9)

save_mapper_png: GridSearch searched over a list of interval width and overlap, useful for visualizing the convergence of the Mapper.

Description

GridSearch searched over a list of interval width and overlap, useful for visualizing the convergence of the Mapper.

Usage

save_mapper_png(
  widget,
  png_path,
  vwidth = 1200,
  vheight = 900,
  zoom = 2,
  delay = 0.5
)

Value

The snapshot is saved to the specified path.

Arguments

widget

The htmlwidget object to be saved as PNG.

png_path

The file path to save the PNG image.

vwidth

The viewport width for the webshot.

vheight

The viewport height for the webshot.

zoom

The zoom factor for the webshot.

delay

The delay in seconds before taking the snapshot. Useful for allowing time for the widget to fully render.