jianhuupenn / SpaGCN

SpaGCN: Integrating gene expression, spatial location and histology to identify spatial domains and spatially variable genes by graph convolutional network
MIT License
187 stars 56 forks source link

module 'SpaGCN' has no attribute 'calculate_adj_matrix' #82

Open JavadP4 opened 10 months ago

JavadP4 commented 10 months ago

Hi! I'm trying to reproduce the tutorial's example. But got this error when tried to call this function "SpaGCN.calculate_adj_matrix()" It seems that function name was changed.

rocketeer1998 commented 2 months ago

You should write spg.calculate_adj_matrix(x = x_pixel,y = y_pixel, histology=False).