SpaGCN: Integrating gene expression, spatial location and histology to identify spatial domains and spatially variable genes by graph convolutional network
Thank you so much for this useful tool for domain detection. I'm trying to use it on my own data, but I only have pixel coordinates. I followed your tutorial with your example data, everything works fine. I'm wondering if I don't have x_array/y_array, how can I proceed? Especially x/y_array are needed in spg.calculate_adj_matrix function.
Or if I only have x/y array, can I replace the x/y pixel in the tutorial with them?
Hello,
Thank you so much for this useful tool for domain detection. I'm trying to use it on my own data, but I only have pixel coordinates. I followed your tutorial with your example data, everything works fine. I'm wondering if I don't have x_array/y_array, how can I proceed? Especially x/y_array are needed in spg.calculate_adj_matrix function.
Or if I only have x/y array, can I replace the x/y pixel in the tutorial with them?
Thank you.