gridWells: Internal: Computes plate layout and wells from marked data.

Description Usage Arguments Details Value

View source: R/drtracker.R

Description

Internal: Computes plate layout and wells from marked data.

Usage

1
gridWells(dframe = NULL, wells = NULL)

Arguments

dframe

A dataframe with x and y coordinates.

wells

An integer indicating number of wells on the plate.

Details

The 4 marked edges of the plate is used to compute well layout positions. The resulting output is used in plotting and other functions.

Value

Returns a dataframe with columns: well,horizontal position 1 (h1), horizontal position 2 (h2), vertical position 1 (v1), vertical position 2 (v2), well midpoint x (x), well midpoint y (y), top left label position x (labx), top left label position y (laby) and bottom label y (laby1).


royfrancis/drtracker documentation built on May 27, 2019, 11:45 p.m.