Calculates coordinates of points on plot to represent a digital PCR array.
calc_coordinates(array, half)A single array, as generated by adpcr2panel.
If left or right, every well is represented only
by the adequate half of the rectangle.
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.
plot_panel - plots '>adpcr data.
adpcr2panel - converts '>adpcr object to arrays.