Visualizes the vertices belonging to a specific basin from a basins object in 3D using rgl graphics. Searches for the basin in either local minima or local maxima basins and draws the constituent vertices as spheres.
Arguments
- basins.obj
List object containing basin analysis results with structure:
basins$lmin_basins: Named list of local minima basinsbasins$lmax_basins: Named list of local maxima basins
Each basin contains a
basin_dfdata frame where the first column contains vertex indices.- basin.label
Character string identifying the basin to draw. Must match a name in either
lmin_basinsorlmax_basins- radius
Numeric radius for basin vertex spheres. Default is 0.15
- col
Character string specifying color for basin spheres. Default is "cyan"