Skip to contents

Creates Visium-style hexagonal grid.

Usage

generate_hexagonal_grid(n_spots)

Arguments

n_spots

Approximate number of spots desired.

Value

Matrix of x, y coordinates.