VisualizeCntr {cellmigRation} | R Documentation |
Annotates centroids over an image
VisualizeCntr( centroids, width_px, height_px, pnt.cex = 1.2, txt.cex = 0.9, offset = 0.18, col = "red2" )
centroids |
centroid data.frame |
width_px |
width of the image in pixels |
height_px |
height of the image in pixels |
pnt.cex |
cex of the point (circle) drawn around each cell |
txt.cex |
cex of the text used to annotate the image |
offset |
offset for the text annotations |
col |
color of the points, e.g. "red2" |
None
Damiano Fantini, damiano.fantini@gmail.com
https://www.data-pulse.com/dev_site/cellmigration/ https://www.mathworks.com/matlabcentral/fileexchange/60349-fasttracks
x1 <- data.frame( row = c(50, 80, 20, 65, 99), col = c(15, 25, 50, 65, 86)) plot(2, 2, xlim = c(0,1), ylim = c(0,1), xlab = "", ylab = "", las = 2) cellmigRation:::VisualizeCntr(x1, width_px = 100, height_px = 100)