ncborcherding / escape

Easy single cell analysis platform for enrichment
https://www.borch.dev/uploads/screpertoire/articles/running_escape
MIT License
149 stars 20 forks source link

General question #121

Closed Sirin24 closed 2 months ago

Sirin24 commented 2 months ago

Hello, I have generated DEGs from findmarkers() in Seurat between fibroblast_disease and fibroblast_control. I also did this for other celltypes in metadata column named celltype_condition

Now, how to use this package to do gene set enrichment analysis to find upregulated and downregulated pathways ? If this format is not suitable as input to the tool then how to prepare my object for such comparisons ?
It it done for each celltype_condition alone then I would compare the healthy and the control?

I will appreciate your help and looking forward to using your tool. Thanks.

ncborcherding commented 2 months ago

Hey @Sirin24,

That is slightly different then what escape was designed for. Escape will calculate the enrichment values for the individual cells and from there, you can find differential gene sets based on the individual cell distributions.

If you want to use a pre-ranked gene list for GSEA you can check out clusterProfiler or fGSEA.

Nick

Sirin24 commented 2 months ago

Thank you. is it possible to use this tool to compare different conditions? is there a vignette to do that? should I be processing each condition alone or combined object?