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

use of Seurat object #4

Open
gebdu opened this issue Mar 3, 2023 · 3 comments
Open

use of Seurat object #4

gebdu opened this issue Mar 3, 2023 · 3 comments

Comments

@gebdu
Copy link

gebdu commented Mar 3, 2023

Hi,

can I use Seurat object (with UMAP/clustering already done) just to do the trajectory analysis ?

thanks

@alexQiSong
Copy link
Owner

Hi,

can I use Seurat object (with UMAP/clustering already done) just to do the trajectory analysis ?

thanks

Hi Gebdu,

Currently loading from Seurat object is not supported yet. But this could be a useful extension. I would consider adding this functionality soon. Thanks for providing the feedback!

Thanks,
Qi

@Dalhte
Copy link

Dalhte commented Aug 30, 2024

Hello there
I extracted the info from my seurat object like this :

write expression counts matrix

library(Matrix)
counts_matrix <- LayerData(object = obj[['RNA']])
writeMM(counts_matrix, file='/counts.mtx')

write gene names

write.table(
data.frame('gene'=rownames(counts_matrix)),file='/gene_names.csv',
quote=F,row.names=F,col.names=F
)

For cell_meta.csv:

I runned velocyto, extracted the anndata obs and variable, and from the obs.csv, keep only the barcodes and the pseudotime index

Cannot say if it is working yet. The files were downloaded successfully, the UMAP reduction is nice, and the inference of trajectory still running (it has been 3 hours now :p)

Best

David

@Dalhte
Copy link

Dalhte commented Sep 3, 2024

Just for you to know that what I proposed above is working in my hands
Best
David

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

3 participants