-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sp.spatial_high_variable_genes() - Improve computational speed #2
Comments
Regarding this issue, we have relevant descriptions in the documentation. I speculate that the dataset you are using has a high resolution. You can increase the We do have a multi-process version, but we are concerned that it might cause memory overflow issues on personal computers. Therefore, we have not mentioned it in the documentation and tutorials yet. We will update the multi-process version once it is optimized and stable. In general, spatial transcriptomics data contains two sets of coordinates. One is the index coordinates of the sampling points, which start from the top-left corner (or another corner) of the tissue slice (these values are usually smaller and represent indices). The other is the pixel coordinates of the corresponding HE image for the sampling points (these values are larger and correspond to pixel positions). By default, STMiner uses the first set of coordinates (retrieved from |
Also try: sp.spatial_high_variable_genes(thread=12) |
Discussed in #1
Originally posted by ZhangZao-HB March 13, 2025
我在运行到sp.spatial_high_variable_genes()这一步进行高变基因计算时,显示需要接近100小时的运算时长,是否有办法提升运算速度,例如增加线程数或者将运行的矩阵转换为稀疏矩阵之类的。
When I was running the high variable gene calculation at sp.spatial-highvariable_genes (), it showed that it required nearly 100 hours of computation time. Is there any way to improve the computation speed, such as increasing the number of threads or converting the running matrix to a sparse matrix.
The text was updated successfully, but these errors were encountered: