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

Question about st.spatial.trajectory.compare_transitions #286

Open
zyy23 opened this issue Mar 8, 2024 · 1 comment
Open

Question about st.spatial.trajectory.compare_transitions #286

zyy23 opened this issue Mar 8, 2024 · 1 comment

Comments

@zyy23
Copy link

zyy23 commented Mar 8, 2024

Dear Author.
I'm using

b=[1,2]
st.spatial.trajectory.pseudotimespace_global(adata_SME, use_label="leiden", list_clusters=b)
and
a=[0,2]
st.spatial.trajectory.pseudotimespace_global(adata_SME, use_label="leiden", list_clusters=a) 

did the trajectory analysis, can I use st.spatial.trajectory.compare _transitions() to compare the differences between these two for different clades?
Thanks!

@duypham2108
Copy link
Collaborator

Yes, I can do it. It just compares the genes between the two sets of transition markers.
You still need to run st.spatial.trajectory.detect_transition_markers_clades. The transition markers result for each clade will be stored in adata.uns['clade name']. Then the st.spatial.trajectory.compare _transitions() function will compare between them

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

2 participants