Skip to content
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

spateo.tl.scc #293

Open
LILI-0000-0002-8173-7367 opened this issue Nov 26, 2024 · 6 comments
Open

spateo.tl.scc #293

LILI-0000-0002-8173-7367 opened this issue Nov 26, 2024 · 6 comments
Assignees

Comments

@LILI-0000-0002-8173-7367

Hello, Spateo team.

Thank you very much for developing this wonderful tool.

I noticed that the tl.scc function does not work in my end. Would you please let me know how to correct it? Thank you.

import spateo as sp
......
sp.tl.scc(
    ms_data,
    s_neigh=8,
    e_neigh=30,
    resolution=2,
    cluster_method="leiden",
    key_added="scc",
    pca_key="pca",
)
Error is : TypeError: scc() got an unexpected keyword argument 'cluster_method'
@LILI-0000-0002-8173-7367
Copy link
Author

If I omit cluster_method="louvain", the program stops at spatial_neighbors.params and keep running overnight.
image

@LILI-0000-0002-8173-7367
Copy link
Author

Hello, Spateo team.

I also noticed two more issues.

  1. Spateo version
    I installed spateo v1.1.0, but it indicated 0.0.0 in jupyternotebook.
    image

  2. STAGATE Clustering function
    I tried to switch to STAGATE Clustering function.

sp.pp.select_hvf_seurat(adata,n_top= 2000,)

gave me an error.

AttributeError: module 'spateo.pp' has no attribute 'select_hvf_seurat'

Thanks for your time and help!

Cheers,
Li Li

@Xiaojieqiu
Copy link
Contributor

thanks LiLi, @YifanLu2000 Yifan will work on this!

@YifanLu2000
Copy link
Contributor

Hi @LILI-0000-0002-8173-7367, I’d like to know the version of Spateo you’re using. The version available on PyPI is relatively outdated, so some updates are only available via GitHub through local installation using git clone. We apologize for the inconvenience and will update the PyPI version soon.

@LILI-0000-0002-8173-7367
Copy link
Author

Hello, @YifanLu2000 . Thanks for your reply.

Yes, Spateo was installed via PyPI following the tutorial page. And I also tried git clone https://github.com/aristoteleo/spateo-release.git and pip install git+https://github.com/aristoteleo/spateo-release. The conda version also indicates v1.1.0 but it is v0.0.0 in jupyternotebook.

I would like to know the recommend python version, now I am using py3.10 for Spateo. I received an error for sphinx 8.1.3, it requires version less than ver6.

Thank you very much for your time, please let me know when you have the PyPI version updated.

Best regards,
Li Li

@Yin-XN
Copy link

Yin-XN commented Feb 15, 2025

Hi, @LILI-0000-0002-8173-7367 .I encountered the same issue as you: 'The conda version also indicates v1.1.0 but it shows as v0.0.0 in Jupyter Notebook.' I wanted to ask if you have found a solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants