You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backport PR #2414 on branch 1.9.x (matplotlib 3.7 compat) (#2419)
* Backport PR #2414: matplotlib 3.7 compat
* fix scrublet
* Update visium default plot for matplotlib 3.7
* Update hashsolo docstrings
* skip plotting test that changed on mpl 3.7 if mpl < 3.7 is installed
* Fix hashsolo docs (again)
* update anndata-dev tests to install anndata test deps
* Temporarily set warnings as errors to False for doc builds
* Release notes
* Fix using custom layer with highly_variable_genes (#2302)
* Fix using custom layer with highly_variable_genes
* Add tests
* Add release note
* Move release note to correct section
* Format release notes
* Add check for number of normalized dispersions (#2231)
* 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>
---------
Co-authored-by: Isaac Virshup <ivirshup@gmail.com>
Co-authored-by: adamgayoso <adamgayoso@users.noreply.github.com>
Co-authored-by: Dries Schaumont <5946712+DriesSchaumont@users.noreply.github.com>
Co-authored-by: Luke Zappia <lazappi@users.noreply.github.com>
* {func}`~scanpy.pp.highly_variable_genes``layer` argument now works in tandem with `batches` {pr}`2302` {smaller}`D Schaumont`
7
+
* {func}`~scanpy.pp.highly_variable_genes` with `flavor='cell_ranger'` now handles the case in {issue}`2230` where the number of calculated dispersions is less than `n_top_genes` {pr}`2231` {smaller}`L Zappia`
0 commit comments