Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

highly_variable_genes not working for normalized values from edgeR::cpm #43

Closed
dweemx opened this issue Apr 17, 2020 · 0 comments · Fixed by vib-singlecell-nf/vsn-pipelines#204
Assignees
Labels
bug Something isn't working

Comments

@dweemx
Copy link
Contributor

dweemx commented Apr 17, 2020

For some reason, the highly_variable_genes from scanpy is not working for normalized (log + CPM) matrix coming from edgeR. Not setting min_mean, max_mean, min_disp, max_disp will lead to no variable genes detected.
image

It seems that it's due to max_mean. By setting it to a number (in the range of the values) or np.inf, the function seems to work fine. I haven't got time exactly to know why.
image

@dweemx dweemx added the bug Something isn't working label Apr 17, 2020
@dweemx dweemx self-assigned this Apr 17, 2020
@dweemx dweemx changed the title highly_variable_genes not working for normalized values highly_variable_genes not working for normalized values from edgeR::cpm Apr 17, 2020
dweemx added a commit that referenced this issue Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant