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

Slingshot followed by CellRank #239

Open
Yanst86 opened this issue Dec 28, 2023 · 1 comment
Open

Slingshot followed by CellRank #239

Yanst86 opened this issue Dec 28, 2023 · 1 comment

Comments

@Yanst86
Copy link

Yanst86 commented Dec 28, 2023

Hi,

I performed a Slingshot analysis on my Seurat data in R, and would like to import the output to CellRank in Python for a follow up analysis. However, I failed to convert the singlecellexperiment object I have to Anndata using various tools, including zellkonverter, sceasy and scDIOR. I figured there could be another approach - to convert my Seurat object to anndata and run Slingshot in Python. Anyone here have an experience with this transition and could recommend what worked for him/her?

Thanks,
Yan

@kstreet13
Copy link
Owner

Hi @Yanst86,

I don't use python much, but there is a python implementation of Slingshot that you could try: https://pypi.org/project/pyslingshot/ (fair warning: I don't maintain this package and cannot verify it's accuracy). Depending on the specific outputs you need, you could also consider constructing your own SCE object that contains only the necessary results after running Slingshot.

Also, just to be clear, SingleCellExperiment objects are distinct from Seurat objects. There are probably methods for converting either of them to AnnData objects in python (and there are definitely methods for converting between the two), but it is impossible to run Slingshot on a Seurat object.

Best,
Kelly

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