swh:1:snp:72a4c465b82ec18a5d1f703821d91720268b476f
Revision 1844b9138ca898d4c8f0e6d9ac30e90217a6e978 authored by Luke Zappia on 12 August 2022, 09:35:06 UTC, committed by GitHub on 12 August 2022, 09:35:06 UTC
* Add check for number of normalized dispersions

In sc.pp.highly_variable_genes() when flavor='cell_ranger' and
n_top_genes is set check that enough normalized dispersions have been
calculated and if not raise a warning and set n_top_genes to the number
of calculated dispersions.

Fixes #2230

* Use .size instead of len()

* Add test for n_top_genes warning

* Add release note

* Remove blank line

Co-authored-by: Isaac Virshup <ivirshup@gmail.com>
1 parent 4623bb7
History
Tip revision: 9cab8cfa4033d3f47a36c7bb816b2c9fae5cfdc6 authored by Philipp A on 07 June 2023, 13:46:06 UTC
Convert issue report templates to forms (#2503)
Tip revision: 9cab8cf
File Mode Size
.github
docs
scanpy
.azure-pipelines.yml -rw-r--r-- 2.8 KB
.codecov.yml -rw-r--r-- 291 bytes
.editorconfig -rw-r--r-- 176 bytes
.flake8 -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 510 bytes
.pre-commit-config.yaml -rw-r--r-- 728 bytes
.readthedocs.yml -rw-r--r-- 183 bytes
CONTRIBUTING.md -rw-r--r-- 968 bytes
LICENSE -rw-r--r-- 1.5 KB
README.md -rw-r--r-- 1.8 KB
conftest.py -rw-r--r-- 1.7 KB
pyproject.toml -rw-r--r-- 4.2 KB

README.md

back to top