jianhuupenn / SpaGCN

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

Student's t bug report #41

Closed tomo61098 closed 2 years ago

tomo61098 commented 2 years ago

https://github.com/jianhuupenn/SpaGCN/blob/0f265b80ff7525d68be07d6989283f3e9e575bf6/SpaGCN_package/SpaGCN/models.py#L26 Hello Dr. Hu,

should the expression be q = q**((self.alpha+1)/2.) or is it intended to first raise to the power and then take half of the result?

jianhuupenn commented 2 years ago

Thanks for your interest in SpaGCN. The formula is correct.