I've written some code to segment, count, and analyze the properties of bacterial colonies in a petri dish. Now, I would like to use principal component analysis to visualize the diversity of bacterial strains present in a given sample. My current method yields the PCA and plots 2 components against each other and even allows me to identify outlier points by number; however, I currently have no way of knowing which colony in my image actually corresponds to number "112" for example. Does anyone know of a way to overlay the colony numbers onto the original image so that I can have a reference point to make sense of the PCA data? I've attached my code if that's helpful.
Thank you in advance!