Skip to content

high variance genes #16

Open
Open

Description

@jinxixiang

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!

Activity

  1. changed the title [-]high varible genes[/-] [+]high variance genes[/+] on Jul 6, 2024
  2. pauldoucet commented on Jul 6, 2024

    @pauldoucet
    Collaborator

    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

  3. jinxixiang commented on Jul 7, 2024

    @jinxixiang
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions