Calculating coordinates in pixels

add_px_loc(Spots_df, xres = 0.1625, yres = 0.1625, zres = 0.25, x, y,
  z)

Arguments

Spots_df

a dataframe with spots information and coordinates in microns

xres

resolution in microns for the x dimension

yres

resolution in microns for the y dimension

zres

resolution in microns for the z dimension

x

x coordinates in pixels

y

y coordinates in pixels

z

z coordinates in pixels

Value

dataframe with three new columns