Designed and implemented a community detection algorithm for spatial omics data using PCA for dimension reduction, rule based neighborhood aggregation for graph feature embedding, k-means clustering for community detection, and Adjusted Rand Index for evaluation.