Skip to content

Commit 083a1b0

Browse files
authored
Merge pull request #10242 from satijalab/release/5.4.0
Submit 5.4.0 to CRAN
2 parents 5bfaca0 + 451e7b4 commit 083a1b0

17 files changed

+95
-17
lines changed

.github/workflows/release_checks.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
extra-packages:
6464
any::rcmdcheck
6565
any::pkgdown
66+
any::testthat
67+
# Only install hard / required dependencies
68+
dependencies: '"hard"'
6669
# Installed packages are cached by default - force an upgrade to the
6770
# latest version of all dependencies.
6871
upgrade: 'TRUE'

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: Seurat
2-
Version: 5.3.1.9999
2+
Version: 5.4.0
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(
@@ -59,7 +59,6 @@ Imports:
5959
irlba,
6060
jsonlite,
6161
KernSmooth,
62-
leidenbase,
6362
lifecycle,
6463
lmtest,
6564
MASS,
@@ -110,6 +109,7 @@ Suggests:
110109
harmony,
111110
hdf5r,
112111
IRanges,
112+
leidenbase,
113113
limma,
114114
magrittr,
115115
MAST,

NEWS.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
# Unreleased
1+
# Seurat 5.4.0
22

33
### Additions
4-
- Added support for Space Ranger 4.0 outputs - updated `Load10X_Spatial`, `Read10X_Image`, spatial visualization functions (`SpatialPlot`, `SingleSpatialPlot`, `SpatialDimPlot`, `SpatialFeaturePlot`), added helpers (`Read10X_Segmentations`, `Read10X_HD_GeoJson`, `Format10X_GeoJson_CellID`)
4+
- Added support for 10x Space Ranger 4.0 outputs (Visium data with segmentations)
5+
- Updated data loading functions `Load10X_Spatial`, `Read10X_Image`,
6+
- Updated `GetTissueCoordinates.VisiumV2`
7+
- Updated spatial visualization functions `SpatialPlot`, `SingleSpatialPlot`, `SpatialDimPlot`, `SpatialFeaturePlot`
8+
- Added helper functions `Read10X_Segmentations`, `Read10X_HD_GeoJson`, `Format10X_GeoJson_CellID`
59
- Added function `InteractiveSpatialPlot` to allow users to interactively lasso-select cells from a spatial Seurat object (Visium, SlideSeq, or Vizgen data)
610

711
### Fixes
8-
- Reverted #10062 in favor of fetching both grouping variables and dimensionality reduction embeddings with `FetchData`; added warning to alert users when column names of metadata and dimensionality reduction embeddings conflict
12+
- Updated loading & visualization functions (see above for list) for Visium objects -- see [#10125](https://github.com/satijalab/seurat/pull/10215) for details
13+
- For binned Visium data, `x` now correctly corresponds to `imagecol` from tissue positions; `y` now correctly corresponds to `imagerow` from tissue positions; these are now consistent with 10X's coordinate system (with the origin being the top left).
14+
- Reverted [#10062](https://github.com/satijalab/seurat/pull/10062) in favor of fetching both grouping variables and dimensionality reduction embeddings with `FetchData` as previously; added warning to alert users when column names of metadata and dimensionality reduction embeddings conflict
15+
- Added color retrieval logic in `LabelClusters` for consistent cluster label coloring ([#10198](https://github.com/satijalab/seurat/pull/10198))
916

1017
# Seurat 5.3.1
1118

R/clustering.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,6 +1802,12 @@ RunLeiden <- function(
18021802

18031803
# Run clustering with `leidenbase`.
18041804
if (leiden_method == "leidenbase") {
1805+
# Check if leidenbase is available
1806+
if (!requireNamespace("leidenbase", quietly = TRUE)) {
1807+
stop("Package 'leidenbase' is required for leiden_method = 'leidenbase'. ",
1808+
"Please install it with: install.packages('leidenbase')")
1809+
}
1810+
18051811
partition <- leidenbase::leiden_find_partition(
18061812
input,
18071813
partition_type = partition.type,

R/data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#' \item{g2m.genes}{Genes associated with G2M-phase}
99
#' }
1010
#' @concept data
11-
#' @source \url{https://www.science.org/doi/abs/10.1126/science.aad0501}
11+
#' @source `https://doi.org/10.1126/science.aad0501`
1212
#'
1313
"cc.genes"
1414

@@ -41,7 +41,7 @@
4141
#' \item{g2m.genes}{Genes associated with G2M-phase}
4242
#' }
4343
#' @concept data
44-
#' @source \url{https://www.science.org/doi/abs/10.1126/science.aad0501}
44+
#' @source `https://doi.org/10.1126/science.aad0501`
4545
#'
4646
#' @seealso \code{\link{cc.genes}}
4747
#'

cran-comments.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Seurat v5.4.0
2+
3+
## Test environments
4+
* Ubuntu 20.04 (local) (R 4.3.2)
5+
* macOS 15.6.1 (local) (R 4.5.1)
6+
* Ubuntu 24.04 (GitHub Actions Runner): R-oldrelease, R-release
7+
* [win-builder](https://win-builder.r-project.org/): R-oldrelease, R-release, R-devel
8+
9+
## R CMD check results
10+
**Status: OK**
11+
12+
```
13+
* checking CRAN incoming feasibility ... [42s] NOTE
14+
Maintainer: 'Rahul Satija <seurat@nygenome.org>'
15+
16+
Suggests or Enhances not in mainstream repositories:
17+
BPCells, presto
18+
Availability using Additional_repositories specification:
19+
BPCells yes https://bnprks.r-universe.dev
20+
presto yes https://satijalab.r-universe.dev
21+
```
22+
23+
The maintainer remains Rahul Satija and the email is correct. BPCells and presto are hosted on R-universe and used conditionally in Seurat.
24+
25+
```
26+
* checking package dependencies ... NOTE
27+
Packages suggested but not available for checking: 'BPCells', 'presto'
28+
```
29+
30+
BPCells and presto are hosted on R-universe and used conditionally in Seurat.
31+
32+
```
33+
* checking DESCRIPTION meta-information ... NOTE
34+
Author field differs from that derived from Authors@R
35+
```
36+
37+
There seems to be a slight difference in ORCID formatting between Author and Authors@R; the information in both is the same.
38+
39+
```
40+
* checking Rd cross-references ... NOTE
41+
Package unavailable to check Rd xrefs: 'BPCells'
42+
```
43+
44+
BPCells is listed under "Suggests"; it is hosted on R-universe and used conditionally in Seurat.
45+
46+
## Reverse dependency check results
47+
We checked 80 reverse dependencies (40 from CRAN + 40 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package, and saw no new problems.

man/PrepSCTFindMarkers.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ReadAkoya.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ReadNanostring.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ReadVitessce.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)