calc_coordinates: Calculate Array Coordinates

View source: R/calc_coordinates.R

calc_coordinatesR Documentation

Calculate Array Coordinates

Description

Calculates coordinates of points on plot to represent a digital PCR array.

Usage

calc_coordinates(array, half)

Arguments

array

A single array, as generated by adpcr2panel.

half

If left or right, every well is represented only by the adequate half of the rectangle.

Value

Returns two sets of coordinates of each microfluidic well: coords is a list of coordinates suitable for usage with functions from graphics package. The second element is a data frame of coordinates useful for users utilizing ggplot2 package.

Author(s)

Michal Burdukiewicz, Stefan Roediger.

See Also

plot_panel - plots adpcr data. adpcr2panel - converts adpcr object to arrays.


michbur/dpcR documentation built on Nov. 17, 2022, 5:02 a.m.