Repository navigation
Refresh notebooks for current rsc, anndata and squidpy APIs - #15
Merged
Merged
Conversation
Targets the released stack: rapids-singlecell 0.18.1, anndata 0.13.4, scanpy 1.12.2, squidpy 1.8.4, decoupler 2.3.1, pertpy 1.5.0. rsc 0.18.1 does not import under scanpy 1.13.0, so the scanpy 1.13 / rsc 0.19 use/out/mask spellings are left for the 0.19 release. - 04_squidpy: replace sq.gr.spatial_neighbors, deprecated since squidpy 1.7 and slated for removal in 1.9, with rsc.gr.spatial_neighbors_grid. The graph is identical to the old default for Visium (15,580 edges). Re-executed end to end; Moran's I is unchanged and Geary's C agrees to about 1e-5, the permutation columns and Geary's pval_norm/var_norm moved as expected after rsc 0.18.1 aligned Geary's C with squidpy 1.8.2. - 00/06/07: drop the anndata < 0.12 gate for read_elem_as_dask, which is dead code since rsc requires anndata >= 0.12.14, and name read_elem_lazy in the prose. - ligrec_benchmark/seuratv3_harmony: sc.read -> sc.read_h5ad, the two calls #13 missed. - 03_decoupler: fix the network name (CollecTRI, not DoRothEA) and drop the trailing cell reading nets/progeny.parquet, a file no notebook creates, plus its now-unused pandas import. Only 04 was re-executed; the other edits do not change outputs. The lazy-loading cells of 00/06 and the 06 pipeline were smoke-run on synthetic data with rsc 0.18.1 and anndata 0.13.4.
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the notebooks to the released rapids-singlecell 0.18.1 / anndata 0.13 / squidpy 1.8 APIs.