Skip to content

Commit e4cc892

Browse files
authored
Merge pull request #9567 from satijalab/release/5.2.0
Release/5.2.0
2 parents 1549dcb + c93a1b7 commit e4cc892

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1698
-641
lines changed

.Rbuildignore

-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@
44
^\.Rproj\.user$
55
^.*\.old$
66
.git
7-
.travis.yml
87
appveyor.yml
9-
azure-pipelines.yml
108
cran-comments.md
11-
travis_setup.sh
129
CODE_OF_CONDUCT.md
1310
^_pkgdown\.yaml$
1411
^docs$

.github/workflows/R_CMD_check.yaml

-41
This file was deleted.
+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Integration Checks
2+
3+
# Because `develop` is a protected branch this workflow is triggered when a PR
4+
# is opened/updated and again when it is merged.
5+
on:
6+
push:
7+
branches:
8+
- develop
9+
- master
10+
pull_request:
11+
branches:
12+
- develop
13+
- master
14+
15+
jobs:
16+
check-package:
17+
runs-on: ubuntu-latest
18+
19+
# Use the `satijalab/seurat-ci` Docker image as the runner environment.
20+
# This image is pre-configured with everything required for running
21+
# integration checks, for more details, see
22+
# https://hub.docker.com/repository/docker/satijalab/seurat-ci/general.
23+
container:
24+
image: satijalab/seurat-ci:latest
25+
26+
steps:
27+
# Pull the latest changes from the repository down to the runner.
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
# Install the package and all its dependencies using scripts from
32+
# `littler`, see https://eddelbuettel.github.io/littler/ for details.
33+
- name: Install Dependencies
34+
run: installDeps.r -s
35+
36+
# Run CRAN checks, if any ERRORs or WARNINGs are raised the check fails.
37+
# Certain tests are skipped when running as CRAN—skip all tests so they
38+
# can be run together in a subsequent step.
39+
- name: Run CRAN Checks (no tests)
40+
run: |
41+
rcmdcheck::rcmdcheck(
42+
args = c("--as-cran", "--no-tests"),
43+
error_on="warning"
44+
)
45+
shell: Rscript {0}
46+
47+
# Because tests weren't included in CRAN checks, run them here.
48+
- name: Run Tests
49+
# Run this step even if the previous one failed.
50+
if: always()
51+
run: testthat::test_local()
52+
shell: Rscript {0}

.travis.yml

-55
This file was deleted.

DESCRIPTION

+39-38
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
Package: Seurat
2-
Version: 5.1.0
3-
Date: 2024-05-08
2+
Version: 5.2.0
43
Title: Tools for Single Cell Genomics
54
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.
65
Authors@R: c(
@@ -29,6 +28,7 @@ Authors@R: c(
2928
person(given = "Shiwei", family = "Zheng", email = "[email protected]", role = "ctb", comment = c(ORCID = "0000-0001-6682-6743")),
3029
person("Satija Lab and Collaborators", role = "fnd")
3130
)
31+
License: MIT + file LICENSE
3232
URL: https://satijalab.org/seurat, https://github.com/satijalab/seurat
3333
BugReports: https://github.com/satijalab/seurat/issues
3434
Additional_repositories: https://satijalab.r-universe.dev, https://bnprks.r-universe.dev
@@ -56,7 +56,7 @@ Imports:
5656
irlba,
5757
jsonlite,
5858
KernSmooth,
59-
leiden (>= 0.3.1),
59+
leidenbase,
6060
lifecycle,
6161
lmtest,
6262
MASS,
@@ -68,7 +68,6 @@ Imports:
6868
plotly (>= 4.9.0),
6969
png,
7070
progressr,
71-
purrr,
7271
RANN,
7372
RColorBrewer,
7473
Rcpp (>= 1.0.7),
@@ -90,9 +89,44 @@ Imports:
9089
tools,
9190
utils,
9291
uwot (>= 0.1.10)
92+
Suggests:
93+
ape,
94+
arrow,
95+
Biobase,
96+
BiocGenerics,
97+
BPCells,
98+
data.table,
99+
DESeq2,
100+
DelayedArray,
101+
enrichR,
102+
GenomicRanges,
103+
GenomeInfoDb,
104+
glmGamPoi,
105+
ggrastr,
106+
harmony,
107+
hdf5r,
108+
IRanges,
109+
limma,
110+
MAST,
111+
metap,
112+
mixtools,
113+
monocle,
114+
presto,
115+
rsvd,
116+
R.utils,
117+
Rfast2,
118+
rtracklayer,
119+
S4Vectors,
120+
sf (>= 1.0.0),
121+
SingleCellExperiment,
122+
SummarizedExperiment,
123+
testthat,
124+
VGAM
93125
LinkingTo: Rcpp (>= 0.11.0), RcppEigen, RcppProgress
94-
License: MIT + file LICENSE
126+
BuildManual: true
127+
Encoding: UTF-8
95128
LazyData: true
129+
RoxygenNote: 7.3.2
96130
Collate:
97131
'RcppExports.R'
98132
'reexports.R'
@@ -114,36 +148,3 @@ Collate:
114148
'sketching.R'
115149
'tree.R'
116150
'utilities.R'
117-
RoxygenNote: 7.3.1
118-
Encoding: UTF-8
119-
Suggests:
120-
ape,
121-
arrow,
122-
BPCells,
123-
rsvd,
124-
testthat,
125-
hdf5r,
126-
S4Vectors,
127-
SummarizedExperiment,
128-
SingleCellExperiment,
129-
MAST,
130-
DESeq2,
131-
BiocGenerics,
132-
GenomicRanges,
133-
GenomeInfoDb,
134-
IRanges,
135-
rtracklayer,
136-
Rfast2,
137-
monocle,
138-
Biobase,
139-
VGAM,
140-
limma,
141-
metap,
142-
enrichR,
143-
mixtools,
144-
ggrastr,
145-
data.table,
146-
R.utils,
147-
presto,
148-
DelayedArray,
149-
harmony

NAMESPACE

+4-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ S3method(GetAssay,Seurat)
4949
S3method(GetImage,STARmap)
5050
S3method(GetImage,SlideSeq)
5151
S3method(GetImage,VisiumV1)
52+
S3method(GetImage,VisiumV2)
5253
S3method(GetTissueCoordinates,STARmap)
5354
S3method(GetTissueCoordinates,SlideSeq)
5455
S3method(GetTissueCoordinates,VisiumV1)
@@ -107,6 +108,7 @@ S3method(RunPCA,StdAssay)
107108
S3method(RunPCA,default)
108109
S3method(RunSLSI,Assay)
109110
S3method(RunSLSI,Seurat)
111+
S3method(RunSLSI,StdAssay)
110112
S3method(RunSLSI,default)
111113
S3method(RunSPCA,Assay)
112114
S3method(RunSPCA,Assay5)
@@ -384,6 +386,7 @@ export(RunCCA)
384386
export(RunGraphLaplacian)
385387
export(RunICA)
386388
export(RunLDA)
389+
export(RunLeiden)
387390
export(RunMarkVario)
388391
export(RunMixscape)
389392
export(RunMoransI)
@@ -546,6 +549,7 @@ importFrom(SeuratObject,CreateAssayObject)
546549
importFrom(SeuratObject,CreateCentroids)
547550
importFrom(SeuratObject,CreateDimReducObject)
548551
importFrom(SeuratObject,CreateFOV)
552+
importFrom(SeuratObject,CreateMolecules)
549553
importFrom(SeuratObject,CreateSegmentation)
550554
importFrom(SeuratObject,CreateSeuratObject)
551555
importFrom(SeuratObject,DefaultAssay)
@@ -752,7 +756,6 @@ importFrom(igraph,plot.igraph)
752756
importFrom(irlba,irlba)
753757
importFrom(jsonlite,fromJSON)
754758
importFrom(jsonlite,read_json)
755-
importFrom(leiden,leiden)
756759
importFrom(lifecycle,deprecate_soft)
757760
importFrom(lifecycle,deprecate_stop)
758761
importFrom(lifecycle,deprecate_warn)
@@ -794,7 +797,6 @@ importFrom(plotly,plot_ly)
794797
importFrom(plotly,raster2uri)
795798
importFrom(png,readPNG)
796799
importFrom(progressr,progressor)
797-
importFrom(purrr,imap)
798800
importFrom(reticulate,import)
799801
importFrom(reticulate,py_module_available)
800802
importFrom(reticulate,py_set_seed)

NEWS.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# Seurat 5.2.0 (2024-12-20)
2+
3+
## Changes
4+
- Added `group.by` parameter to `FindAllMarkers`, allowing users to regroup their data using a non-default identity class prior to performing differential expression ([#9550](https://github.com/satijalab/seurat/pull/9550))
5+
- Added `image.type` parameter to `Read10X_Image` enabling `VisiumV1` instances to be populated instead of instances of the default `VisiumV2` class ([#9556](https://github.com/satijalab/seurat/pull/9556))
6+
- Fixed `IntegrateLayers` to respect the `dims.to.integrate` parameter
7+
- Added `stroke.size` parameter to `DimPlot` ([#8180](https://github.com/satijalab/seurat/pull/8180))
8+
- Updated `RunLeiden` to use the `leidenbase` package instead of `leiden`; deprecated the `method` parameter for `RunLeiden` and `FindClusters`; updated `RunLeiden` to reset `random.seed` to 1 if the value is 0 or less ([#6792](https://github.com/satijalab/seurat/pull/6792))
9+
- 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))
10+
- 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))
11+
- Updated `RunSLSI` to support `BPCells` matrices
12+
- Updated `RunUMAP` to support `umap-learn` version >= 0.5.0 ([#9559](https://github.com/satijalab/seurat/pull/9559))
13+
- 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))
14+
- Fixed `LoadXenium` to accommodate datasets without "Blank Codeword" or "Unassigned Codeword" matrices([#9135](https://github.com/satijalab/seurat/pull/9135))
15+
- Fixed `ReadXenium` to properly parse multiple molecular outputs at once ([#8265](https://github.com/satijalab/seurat/issues/8265))
16+
- Added `features` parameter to `LeverageScore` and `SketchData`
17+
- Updated `SketchData`'s `ncells` parameter to accept integer vector
18+
19+
120
# Seurat 5.1.0 (2024-05-08)
221

322
## Changes
@@ -222,6 +241,7 @@
222241
- Add `rlsi` option for `FindIntegrationAnchors()`
223242

224243
## Changes
244+
-
225245
- Preserve feature metadata when converting from `SingleCellExperiment` to `SeuratObject` class
226246
([#4205](https://github.com/satijalab/seurat/issues/4205))
227247
- Preserve multiple assays when converting from `SingleCellExperiment` to `SeuratObject` class

0 commit comments

Comments
 (0)