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

high variance genes #16

Open
jinxixiang opened this issue Jul 6, 2024 · 2 comments
Open

high variance genes #16

jinxixiang opened this issue Jul 6, 2024 · 2 comments

Comments

@jinxixiang
Copy link

Dear authors,

I attempted to filter genes based on variance using the following code:

adata = sc.read_h5ad(expr_path)
adata.var_names_make_unique()
sc.pp.filter_cells(adata, min_genes=1)
sc.experimental.pp.highly_variable_genes(adata, n_top_genes=TOP_GENE)

However, I observed that only half of the samples (594 out of total slides, TOP_GENE=128) exhibit high variance genes, while many of the remaining samples show little gene expression levels.

Could you please provide your insights on these findings? Thank you!

@jinxixiang jinxixiang changed the title high varible genes high variance genes Jul 6, 2024
@pauldoucet
Copy link
Collaborator

pauldoucet commented Jul 6, 2024

Dear @jinxixiang ,
Do you mean that for half of the samples, the top 128 most variable genes have low expression levels?
Can you clarify how small these gene expression levels are compared to the other genes? Normalization might be necessary

@jinxixiang
Copy link
Author

Thank you for your reminders. I will review the norm first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants