Closed jincanke closed 2 years ago
Thank you. But actually, the coord_x and coord_y here will be reversed to the final coordinates (coord1=coord_y, coord2=max(coord_x)+min(coord_x)-coord_x) since the image and plot coordinate systems are not the same.
I see...Thank you for your reply.👍
Hi, thank you for your code sharing. When I used the CellTrek, I found that there are some errors in the calculation of coordinates. coord_x <- row_x[1] + (spot_dis/2)sin(theta)alpha coord_y <- row_x[2] + (spot_dis/2)cos(theta)alpha I think it may be coord_x <- row_x[1] + (spot_dis/2)cos(theta)alpha coord_y <- row_x[2] + (spot_dis/2)sin(theta)alpha Best wishes.