Skip to content

Commit 5c0a266

Browse files
authored
Merge pull request #9644 from satijalab/release/5.2.1
Release/5.2.1
2 parents e4cc892 + 7e2582c commit 5c0a266

File tree

4 files changed

+31
-27
lines changed

4 files changed

+31
-27
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: Seurat
2-
Version: 5.2.0
2+
Version: 5.2.1
33
Title: Tools for Single Cell Genomics
44
Description: A toolkit for quality control, analysis, and exploration of single cell RNA sequencing data. 'Seurat' aims to enable users to identify and interpret sources of heterogeneity from single cell transcriptomic measurements, and to integrate diverse types of single cell data. See Satija R, Farrell J, Gennert D, et al (2015) <doi:10.1038/nbt.3192>, Macosko E, Basu A, Satija R, et al (2015) <doi:10.1016/j.cell.2015.05.002>, Stuart T, Butler A, et al (2019) <doi:10.1016/j.cell.2019.05.031>, and Hao, Hao, et al (2020) <doi:10.1101/2020.10.12.335331> for more details.
55
Authors@R: c(

NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Seurat 5.2.1 (2025-01-23)
2+
3+
## Changes
4+
- Fixed `test_find_clusters.R` to accommodate variability in label assignments given by `FindClusters` across different systems ([#9641](https://github.com/satijalab/seurat/pull/9641))
5+
16
# Seurat 5.2.0 (2024-12-20)
27

38
## Changes
@@ -9,6 +14,7 @@
914
- Updated `RunPCA` to use the `BPCells`-provided SVD solver on `BPCells` matrices; updated `JackStraw` to support `BPCells` matrices ([#8271](https://github.com/satijalab/seurat/pull/8271))
1015
- Fixed `RunPCA` to avoid converting `BPCells` matrices into dense matrices - significantly reduces the function's memory usage when running on `BPCells` matrices ([#8966](https://github.com/satijalab/seurat/pull/8966))
1116
- Updated `RunSLSI` to support `BPCells` matrices
17+
- Fixed `DietSeurat` so that the `layers` parameter is respected ([#8197](https://github.com/satijalab/seurat/pull/8197))
1218
- Updated `RunUMAP` to support `umap-learn` version >= 0.5.0 ([#9559](https://github.com/satijalab/seurat/pull/9559))
1319
- Updated `LoadXenium` and `ReadXenium` to accommodate the output from `XOA` v3.0; updated `LoadXenium` to provide more fine-grained control over the datatypes parsed in, including nucleus segmentation masks, segmentation methods, and other experimental metadata; updated `ReadXenium` to load cell_feature_matrix.h5 when present in favor of the MEX format files; updated `ReadXenium` to load .parquet files using `arrow` instead of .csv.gz files to support XOA 3.0 ([#8604](https://github.com/satijalab/seurat/pull/8605))
1420
- Fixed `LoadXenium` to accommodate datasets without "Blank Codeword" or "Unassigned Codeword" matrices([#9135](https://github.com/satijalab/seurat/pull/9135))

cran-comments.md

+14-20
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
1-
# Seurat v5.2.0
1+
# Seurat v5.2.1
2+
This update is a small patch release to address failing M1mac checks ahead of the deadline on 2025-01-28.
23

34
## Test environments
4-
* local ubuntu 20.04 install, R 4.4.2
5-
* win-builder (oldrelease, release, devel)
6-
* mac-builder (devel)
7-
8-
We were unable to test on r-release on mac-builder because the portal seemed to point to the wrong version.
5+
* macOS 14.6.1 (Apple M3, arm64, local install): R-release
6+
* Ubuntu 22.04 (Docker container): R-release
7+
* [win-builder](https://win-builder.r-project.org/): R-oldrelease, R-release, R-devel
8+
* [macOS builder](https://mac.r-project.org/macbuilder/submit.html): R-release, R-devel
99

1010
## R CMD check results
11+
There were no ERRORs or WARNINGs but there was one NOTE.
1112

12-
There were no ERRORs or WARNINGs
13-
14-
There was one NOTE
15-
16-
❯ checking CRAN incoming feasibility ... [12s/61s] NOTE
13+
```
14+
❯ checking CRAN incoming feasibility ... [15s/92s] NOTE
1715
Maintainer: ‘Rahul Satija <[email protected]>’
1816
1917
Suggests or Enhances not in mainstream repositories:
2018
BPCells, enrichR, presto
2119
Availability using Additional_repositories specification:
2220
BPCells yes https://bnprks.r-universe.dev
23-
enrichR yes https://cran.r-universe.dev
21+
enrichR yes https://satijalab.r-universe.dev
2422
presto yes https://satijalab.r-universe.dev
23+
```
2524

26-
BPCells, enrichR, and presto are hosted on R-universe and used conditionally in Seurat.
27-
28-
## Downstream dependencies
29-
30-
There are 3 packages that depend on Seurat: CACIMAR, scCustomize, and SCdeconR; this update does not impact their functionality.
31-
32-
There are 34 packages that import Seurat: AnanseSeurat, APackOfTheClones, bbknnR, CAESAR.Suite, CAMML, DR.SC, DWLS, GeneNMF, ggsector, mixhvg, nebula, Platypus, PoweREST, PRECAST, ProFAST, rPanglaoDB, scAnnotate, scaper, sccca, scDiffCom, scGate, scGOclust, SCIntRuler, scMappR, scperturbR, scpoisson, SCRIP, scRNAstat, SignacX, SoupX, SpaCCI, SPECK, STREAK, and tidyseurat; this update does not impact their functionality.
25+
`BPCells`, `enrichR`, and `presto` are hosted on R-universe and used conditionally in `Seurat`.
3326

34-
There are 27 packages that suggest Seurat: BisqueRNA, Canek, cellpypes, CIARA, ClustAssess, clustree, combiroc, conos, countland, CRMetrics, CytoSimplex, DIscBIO, dyngen, easybio, grandR, harmony, laminr, mxfda, RESET, rliger, SCORPIUS, SCpubr, scregclust, Signac, SuperCell, treefit, and VAM; this update does not impact their functionality.
27+
## Reverse dependency check results
28+
We checked 65 reverse dependencies, comparing `R CMD check` results across the CRAN and dev versions of this package, and saw no new problems.

tests/testthat/test_find_clusters.R

+10-6
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,17 @@ context("FindClusters")
3434
test_that("Smoke test for `FindClusters`", {
3535
test_case <- get_test_data()
3636

37-
# Spot check cluster assignments with using defaults.
37+
# Validate cluster assignments using default parameters.
3838
results <- FindClusters(test_case)$seurat_clusters
39-
expect_equal(results[[1]], factor(3, levels=0:5))
40-
expect_equal(results[[15]], factor(4, levels=0:5))
41-
expect_equal(results[[24]], factor(0, levels=0:5))
42-
expect_equal(results[[72]], factor(5, levels=0:5))
43-
expect_equal(results[[length(results)]], factor(2, levels=0:5))
39+
# Check that every cell was assigned to a cluster label.
40+
expect_false(any(is.na(results)))
41+
# Check that the expected cluster labels were assigned.
42+
expect_equal(as.numeric(levels(results)), c(0, 1, 2, 3, 4, 5))
43+
# Check that the cluster sizes match the expected distribution.
44+
expect_equal(
45+
as.numeric(sort(table(results))),
46+
c(9, 10, 10, 11, 20, 20)
47+
)
4448

4549
# Check that every clustering algorithm can be run without errors.
4650
expect_no_error(FindClusters(test_case, algorithm = 1))

0 commit comments

Comments
 (0)