dot-make_spot_vertices: Compute vertex coordinates for each spot in frame of plot

.make_spot_verticesR Documentation

Compute vertex coordinates for each spot in frame of plot

Description

Compute vertex coordinates for each spot in frame of plot

Usage

.make_spot_vertices(spot_positions, vertex_offsets)

Arguments

spot_positions

Center for hex, top left for square

vertex_offsets

Data frame of (x, y) offsets wrt spot position for each vertex of spot

Value

Cartesian product of positions and offsets, with coordinates computed as (pos + offset)


edward130603/BayesSpace documentation built on Oct. 23, 2024, 7:04 a.m.