.make_spot_vertices {BayesSpace}R 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)


[Package BayesSpace version 1.3.1 Index]