kaczmarj / tumor-microenvironment-analysis

Code related to the analysis of tumor microenvironment in digital whole slide images.
0 stars 0 forks source link

implement normalization methods #2

Closed kaczmarj closed 3 years ago

kaczmarj commented 3 years ago

implement the three normalization methods from our google doc

Shauqi commented 3 years ago

For normalization, we can consider each patch's (in the ROI) center point and calculate distance from the tumor boundary as we did for the lattice point of each cell. calculating the middle point's (of the patch) distance from the Tumor boundary we can find out which patches are impacted by tumor boundary. We can get the number of patches impacted by M+ and the number of patches impacted by M- and finally, we can use these numbers to normalize the CDFs.