Skip to content

Conversation

@Starlitnightly
Copy link
Contributor

Added the smooth fuction:

adata_bin60.obs['louvain_smooth']=st.tl.smooth(adata_bin60, radius=5, key='louvain')
st.pl.space(adata_bin60, color=['louvain_smooth'], show_legend="upper left", 
            figsize=(4, 3), color_key_cmap="tab20")
image
adata_bin60.obs['scc_smooth']=st.tl.smooth(adata_bin60, radius=5, key='scc')
st.pl.space(adata_bin60, color=['scc_smooth'], show_legend="upper left", 
            figsize=(4, 3), color_key_cmap="tab20")
image

Fixed the cluster_method key error in function scc

This is an interesting error report, when I started trying to reproduce scc's tutorial it prompted me that the cluster_method parameter was unavailable, upon checking I found that leiden was hardcoded in the spateo code, I re-added the parameter in a new pull request and re-added the louvain related methods.

Pr: aristoteleo/spateo-release#250

@Xiaojieqiu Xiaojieqiu merged commit 4a1422a into aristoteleo:main Oct 9, 2024
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

Successfully merging this pull request may close these issues.

2 participants