Skip to content

sp.spatial_high_variable_genes() 提升运算速度 #1

Pinned Answered by PSSUN
ZhangZao-HB asked this question in Q&A
Discussion options

You must be logged in to vote

您好,感谢您的建议。

关于这个问题,我们在文档中有相关的描述,我推测您使用的数据集分辨率较高,您可以在加载数据的时候将bin_size参数调高,如:
sp.read_h5ad(file=file_path, bin_size=50),这并不会降低STMiner的准确度,因为一般情况下分辨率并不影响基因的空间分布。

我们的确有多进程的版本,但是担心在个人电脑上会导致内存溢出的问题,所以目前没有在文档和教程中说明,等优化稳定后我们会更新多进程的版本。

如果您仍然有问题,欢迎随时交流。

Replies: 1 comment 18 replies

Comment options

You must be logged in to vote
18 replies
@7omishere
Comment options

@PSSUN
Comment options

PSSUN Mar 16, 2025
Collaborator

@ZhangZao-HB
Comment options

@PSSUN
Comment options

PSSUN Mar 16, 2025
Collaborator

@PSSUN
Comment options

PSSUN Mar 16, 2025
Collaborator

Answer selected by PSSUN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants