sm_resize_grid_cell: morph_grid_cell

View source: R/screenmill-grid-addin.R

sm_resize_grid_cellR Documentation

morph_grid_cell

Description

Modifies grid by specific edges in order to shrink or expand as necessary to capture data or avoid plate anomalies (shadows/reflections/contaminants) Uses a conditional as in shift_grid_cell so that specific cells/rows/cols can be modified. x and y are recalculated when cells are updated. Positive values for left,right,up,down move named grid edges in that direction, negative values reverse this

Usage

sm_resize_grid_cell(
  plate,
  cond,
  left = 0,
  right = 0,
  up = 0,
  down = 0,
  view = TRUE
)

Arguments

plate

a screenmill plate object loaded by the read_plate function

cond

a quoted conditional statement to select range of rows or cols

left

number of pixels to move grid to the left

right

number of pixels to move grid to the right

up

number of pixels to move grid up

down

number of pixels to move grid down

view

logical display plate with grid defaults to TRUE


RobertJDReid/bobhelpR documentation built on July 7, 2023, 9:02 a.m.