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

Handling genes with zero expression when using gp.gsea #236

Open
looppy95 opened this issue Nov 26, 2023 · 1 comment
Open

Handling genes with zero expression when using gp.gsea #236

looppy95 opened this issue Nov 26, 2023 · 1 comment

Comments

@looppy95
Copy link

Hello! I'm currently working on single-cell GSEA analysis using gp.gsea. In your tutorial, a subset (bdata) was created using adata[adata.obs.seurat_annotations == "CD14 Mono"].copy(), and gp.gsea was directly applied to this subset.

I have a question regarding handling genes with zero expression in the subset. Should I filter out low-expressed genes before running GSEA, or is it acceptable to directly use gp.gsea even if the subset contains genes with zero expression?

Your guidance on this matter would be greatly appreciated. Thank you!

@zqfang
Copy link
Owner

zqfang commented Nov 27, 2023

Genes with zero expression across all the cells/samples will be filtered out internally to avoid computation failure.

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