NathanSkene / EWCE

Expression Weighted Celltype Enrichment. See the package website for up-to-date instructions on usage.
https://nathanskene.github.io/EWCE/index.html
53 stars 25 forks source link

How do I analyze a Seurat object? #94

Closed jmzhang1911 closed 3 months ago

jmzhang1911 commented 3 months ago

Thank you for developing such an excellent tool! I'm curious about how to directly analyze a Seurat object. Looking forward to your reply!

NathanSkene commented 3 months ago

You just need to find the matrix within the Seurat object that represents gene expression, and follow the tutorial for creating a CTD

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: jmzhang1911 @.> Sent: Friday, April 19, 2024 7:31:18 AM To: NathanSkene/EWCE @.> Cc: Subscribed @.***> Subject: [NathanSkene/EWCE] How do I analyze a Seurat object? (Issue #94)

This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.

Thank you for developing such an excellent tool! I'm curious about how to directly analyze a Seurat object. Looking forward to your reply!

— Reply to this email directly, view it on GitHubhttps://github.com/NathanSkene/EWCE/issues/94, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH5ZPE5I4XAFCYUJXF2HXQDY6C23NAVCNFSM6AAAAABGOSS33CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TEMJYG44TMMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

bschilder commented 3 months ago

@jmzhang1911 Seurat has a function to convert Seurat objects to SingleCellExperiment format: Seurat::as.SingleCellExperiment

SingleCellExperiment objects can then be used as input to EWCE::generate_celltype_data to generate your CTD reference for EWCE analyses.