aristoteleo / spateo-release

Spatiotemporal modeling of spatial transcriptomics
https://spateo-release.readthedocs.io/
BSD 2-Clause "Simplified" License
162 stars 26 forks source link

请教Spateo绘制AP、DV轴和backbone的问题 #214

Closed uush99 closed 9 months ago

uush99 commented 9 months ago

您好, 我可以使用中文请教吗,英文我怕标书不清,谢谢了。 我想请教一下,我使用下面这个函数进行绘制backbone,得到的backbone图形不是曲线,而是一个点,是为什么? image image image

另外,请教一下,官网案例上我看到有绘制AP轴和DV轴,不知道能否依据哪个函数可以得到沿AP轴和DV轴显著变化的基因呢? image 期待您的回复!感谢!

Xiaojieqiu commented 9 months ago

please use English to answer because we need to make sure all users to use get the helps from our response. @Yao-14 can you please help with him?

uush99 commented 9 months ago

Thank you very much for your work and your response. I'm going to restate my question again in English. Right now, I have solved the first question about why backbone is only a point. And I got the tissue differential genes expression along the backbone using generalized linear regressions. But one question about the defination of the degs along the backbone: what are the Degs(Differential genes ) I got along backbone based on? Are these differential genes distinct from off-backbone? or just compare the differences of all tissue genes between different locations(backbone nodes) along the backbone?

Thanks for your time!

Yao-14 commented 9 months ago

Hi @uush99 , thanks for using spateo for three-dimensional spatial analysis. There are many reasons for poor backbone reconstruction results, including that your spatial coordinates are too large, the methods or parameters of reconstruction backbone are not suitable for your data. You can first unify your spatial coordinates to the micron level or centimeter level, and try other methods to construct backbone (Available methods including 'ElPiGraph', 'SimplePPT' and 'PrinCurve').

Yao-14 commented 9 months ago

By constructing the backbone, we can get a backbone with labels (labels from 0 to N), so we perform GLM differential expression gene analysis along the backbone, and we can find some genes that are specifically expressed in different regions of the backbone, which can help us understand the different functions in different regions. Especially in samples with segments such as Drosophila embryos. image

uush99 commented 9 months ago

Thank you very much! I understand your reply, I will try it. Thanks again!

By constructing the backbone, we can get a backbone with labels (labels from 0 to N), so we perform GLM differential expression gene analysis along the backbone, and we can find some genes that are specifically expressed in different regions of the backbone, which can help us understand the different functions in different regions. Especially in samples with segments such as Drosophila embryos. image