To reduce potential pathologist variability from manual scoring and support pathologist decision making, a digital image analysis algorithm that identifies tumor cells and quantifies the amount of DKK1 signal was developed and demonstrated to also be sensitive, specific, accurate, and precise. The gene discussed is DKK1; the disease is neoplasm.