circle_grid: Circle grid

Description Usage Arguments Examples

Description

Generate a circular receptor grid

Usage

1
2
circle_grid(center_x = 50, center_y = 50, radius = 100, spacing_x = 7,
  spacing_y = 7, inner_radius = NULL, show_plot = TRUE)

Arguments

center_x

Grid's center X coordinate.

center_y

Grid's center Y coordinate.

radius

Radius of receptor grid.

spacing_x

Distance between receptors on the X axis.

spacing_y

Distance between receptors on the Y axis.

inner_radius

Radius of inner buffer left empty of receptors.

show_plot

Plot receptor grid.

Examples

1
2
3
4
5
circle_grid(center_x   = 0,
            center_y   = 0,
            radius     = 100,
            spacing_x  = 7,
            spacing_y  = 7)

dKvale/receptors documentation built on May 14, 2019, 3:06 p.m.