nadeemlab / SPT

Spatial profiling toolbox for spatial characterization of tumor immune microenvironment in multiplex images (https://oncopathtk.org)
https://oncopathtk.org
Other
21 stars 2 forks source link

cggnn ROI creation is slow #255

Closed CarlinLiao closed 9 months ago

CarlinLiao commented 10 months ago

Currently, to create ROIs, cggnn calculates the distance between every pair of cells in a specimen that exhibits a certain phenotype in order to determine where to place ROIs such that they're located where cells are densest. This accounts for the bulk of runtime when running the cggnn pipeline and most of the calculation results are barely used, making it an excellent candidate for a speedup refactor.