Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/5.1.0 #8878

Merged
merged 222 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
d7b434d
Add dcollins as contributor
dcollins15 Mar 19, 2024
4b0c7b8
Bump version
dcollins15 Mar 19, 2024
33fe4a9
Merge pull request #26 from satijalab/feat/new_contributor
dcollins15 Mar 20, 2024
8e08a19
Handle multi-assay Seurat instances in SpatialPlot
zskylarli Mar 20, 2024
4c97223
Add tests for SpatialPlot
zskylarli Mar 16, 2024
017e383
Refactor SpatialPlot
zskylarli Mar 16, 2024
7ae5662
Revert "Refactor SpatialPlot"
dcollins15 Mar 20, 2024
ad87633
Bump version
dcollins15 Mar 19, 2024
71e99fd
Update NEWS
dcollins15 Mar 19, 2024
ee7c217
Swap slot/layer for FetchData call in SpatialPlot
dcollins15 Mar 20, 2024
2c806a6
Merge pull request #20 from satijalab/visiumHD/spatialplot_fix
dcollins15 Mar 20, 2024
b3e319a
Decompose Read10X_Image
dcollins15 Feb 14, 2024
4936179
Tidy Load10X_Spatial
dcollins15 Feb 14, 2024
192f9e4
Drop duplicate ScaleFactors.VisiumV1 implementation
dcollins15 Jan 4, 2024
8c78235
Improve spatial tests in test_load_10X.R
dcollins15 Feb 14, 2024
1d5a1e5
Bump version
dcollins15 Mar 8, 2024
e002bf0
Update NEWS
dcollins15 Mar 8, 2024
967eb7d
Merge pull request #24 from satijalab/tidy_Load10X_Spatial
dcollins15 Mar 20, 2024
c9ae13d
Update docs
dcollins15 Mar 20, 2024
8f9ca41
Update namespace
dcollins15 Mar 20, 2024
18dfc92
Bump version
dcollins15 Mar 20, 2024
a615f33
Merge pull request #27 from satijalab/fix/read_10X_docs
dcollins15 Mar 20, 2024
3917831
Bump version
dcollins15 Mar 24, 2024
485e8f3
Merge pull request #28 from satijalab/fix/version_number
dcollins15 Mar 25, 2024
68a34ea
Fix spot.radius calculation
dcollins15 Mar 8, 2024
36bc84f
Update tests for Read10X_Image
dcollins15 Mar 8, 2024
9f0b286
Bump version
dcollins15 Mar 25, 2024
70a75da
Update NEWS
dcollins15 Mar 8, 2024
7cd4366
Avoid using $ accessor in Read10X_Image
dcollins15 Mar 25, 2024
05783d8
Merge pull request #29 from satijalab/fix/spot.radius
dcollins15 Mar 25, 2024
a327d50
Add `...` to Radius.SlideSeq
dcollins15 Mar 25, 2024
448fe91
Add `...` to Radius.STARmap
dcollins15 Mar 25, 2024
b723d1f
Add `...` to Radius.VisiumV1
dcollins15 Mar 25, 2024
52d8d48
Add scale param to Radius.VisiumV1
dcollins15 Mar 17, 2024
da97604
Add image.scale and assay params to Read10X_Image
dcollins15 Mar 19, 2024
b53ca40
Add image.scale param to SpatialPlot
dcollins15 Mar 19, 2024
09d960a
Add image.scale param to SpatialDimPlot
dcollins15 Mar 19, 2024
50986a9
Add image.scale param to SpatialFeaturePlot
dcollins15 Mar 19, 2024
2dd3f23
Add tissue_hires_image.png to testdata/visium
dcollins15 Mar 21, 2024
9f46baf
Add test case for hires images with Read10X_Image
dcollins15 Mar 21, 2024
4900674
Bump version
dcollins15 Mar 25, 2024
966612d
Bump SeuratObject pin
dcollins15 Mar 25, 2024
7d12749
Update NEWS
dcollins15 Mar 25, 2024
d15f282
Update docs
dcollins15 Mar 25, 2024
cc5d1eb
Avoid using $ accessor in tests for Read10X_Image
dcollins15 Mar 25, 2024
0fb8bc4
Merge pull request #30 from satijalab/feat/visium_hires_png
dcollins15 Mar 25, 2024
4ab3605
Add shape param to SpatialPlot
dcollins15 Mar 19, 2024
d84ae29
Add shape param to SpatialDimPlot
dcollins15 Mar 19, 2024
ac53b7e
Add shape param to SpatialFeaturePlot
dcollins15 Mar 19, 2024
a53b43d
Update stroke default to NA for SpatialPlot
dcollins15 Mar 25, 2024
38caac0
Update stroke default to NA for SpatialDimPlot
dcollins15 Mar 25, 2024
842824e
Update stroke default to NA for SpatialFeaturePlot
dcollins15 Mar 25, 2024
ec8e0ba
Update shape default to 22 for SpatialPlot
dcollins15 Mar 25, 2024
1dff260
Update shape default to 22 for SpatialDimPlot
dcollins15 Mar 25, 2024
494abed
Update shape default to 22 for SpatialFeaturePlot
dcollins15 Mar 25, 2024
8a5073c
Bump version
dcollins15 Mar 25, 2024
7f2cc55
Update NEWS
dcollins15 Mar 25, 2024
bb43851
Update docs
dcollins15 Mar 25, 2024
acd0cc0
Reset shape default back to 21 for SpatialPlot
dcollins15 Mar 25, 2024
18ea680
Revert "Update shape default to 22 for SpatialDimPlot"
dcollins15 Mar 25, 2024
10b1b98
Revert "Update shape default to 22 for SpatialFeaturePlot"
dcollins15 Mar 25, 2024
82c7c68
Update docs... again
dcollins15 Mar 25, 2024
a797843
Merge pull request #31 from satijalab/feat/spatial_params
dcollins15 Mar 25, 2024
8aa6f40
Update Read10X_Coordinates to handle parquet files
dcollins15 Mar 20, 2024
f2254de
Add bin.size param to Load10X_Spatial
dcollins15 Mar 20, 2024
401dc74
Fill in missing descriptions Read10X_Image params
dcollins15 Mar 25, 2024
dbf87fa
Add fake VisiumHD dataset to testdata
dcollins15 Mar 25, 2024
2183a45
Update test for Load10X_Spatial
dcollins15 Mar 25, 2024
0901138
Add test for Load10X_Spatial with HD data
dcollins15 Mar 25, 2024
bf3eced
Bump version
dcollins15 Mar 25, 2024
49ebd5a
Update NEWS
dcollins15 Mar 25, 2024
4712f01
Update docs
dcollins15 Mar 25, 2024
f743759
Update NAMESPACE
dcollins15 Mar 25, 2024
6919527
Merge pull request #32 from satijalab/feat/visium-hd
dcollins15 Mar 25, 2024
ee63b61
Add VisiumV2 class
dcollins15 Mar 19, 2024
e98c8d7
Update Read10X_Image to return a VisiumV2 instance
dcollins15 Mar 20, 2024
f1aa25d
Cleanup Read10X_Image
dcollins15 Mar 24, 2024
d7a3bc9
Add slice param to Read10X_Image
dcollins15 Mar 25, 2024
64f9b6e
Update test for Load10X_Spatial
dcollins15 Mar 21, 2024
d7ec9bc
Bump version
dcollins15 Mar 25, 2024
90d1cf7
Bump SeuratObject pin
dcollins15 Mar 25, 2024
afd942f
Update NEWS
dcollins15 Mar 25, 2024
ec14880
Update docs
dcollins15 Mar 25, 2024
cac6fe2
Update NAMESPACE
dcollins15 Mar 25, 2024
7b157cf
Merge pull request #33 from satijalab/feat/visium_as_fov
dcollins15 Mar 25, 2024
ce0d15d
Avoid using dplyr/magrittr in Read10X_Coordinates
dcollins15 Mar 28, 2024
f34bf66
Add headers to tissue_positions.parquet test files
dcollins15 Mar 28, 2024
962a632
Add arrow to suggested packages
dcollins15 Mar 28, 2024
240fb63
Bump version
dcollins15 Mar 28, 2024
b7914e9
Update NAMESPACE
dcollins15 Mar 28, 2024
ccda5da
Small tweaks to Read10X_Coordinates
dcollins15 Mar 28, 2024
669bf81
Fix comment typo in Read10X_Coordinates
dcollins15 Apr 2, 2024
7c4642b
Merge pull request #35 from satijalab/fix/read10x_dependencies
dcollins15 Apr 4, 2024
3b274fb
Avoid relying on image raster in GeomSpatial
dcollins15 Apr 3, 2024
900ef3e
Bump version
dcollins15 Apr 4, 2024
4961c8f
Merge pull request #36 from satijalab/fix/geom_spatial
dcollins15 Apr 5, 2024
e68ee66
Add test for BuildNicheAssay
dcollins15 Mar 29, 2024
7a28afd
Refactor BuildNicheAssay for speed and readability
dcollins15 Mar 29, 2024
5227876
Update GetTissueCoordinates.VisiumV2 to match FOV output schema
dcollins15 Mar 26, 2024
7ee4b2f
Update tests for Read10X_Image
dcollins15 Mar 26, 2024
4f720b6
Add smoke test for BuildNicheAssay
dcollins15 Mar 25, 2024
187d208
Add cluster.name param to BuildNicheAssay
dcollins15 Apr 2, 2024
2e33703
Update tests for BuildNicheAssay
dcollins15 Apr 2, 2024
0c64dfd
Update NEWS
dcollins15 May 1, 2024
20664c7
Update docs
dcollins15 May 1, 2024
4a5f294
Bump version
dcollins15 May 1, 2024
c6595a3
Merge pull request #909 from satijalab/fix/build_niche_assay
dcollins15 May 1, 2024
ace6bff
Add test for overlapping FOVs to test_spatial.R
dcollins15 May 1, 2024
922f796
Ensure cell identifiers are unique in SpatialPlot
dcollins15 Apr 11, 2024
aa1cccb
Update NEWS
dcollins15 May 1, 2024
008185b
Bump version
dcollins15 May 1, 2024
94582b6
Merge pull request #910 from satijalab/fix/overlapping_spatial_plot
dcollins15 May 2, 2024
d7bb56d
Add smoke test for BuildClusterTree
dcollins15 May 1, 2024
41e0d71
Update BuildClusterTree to use PseudobulkExpression
dcollins15 May 1, 2024
91c9857
Fixup docstring for PseudobulkExpression
dcollins15 May 1, 2024
17250c5
Update NEWS
dcollins15 May 1, 2024
ef68647
Update docs
dcollins15 May 1, 2024
153e2d4
Bump version
dcollins15 May 1, 2024
0916aa7
PseudobulkExpression behavior depends on slot param
dcollins15 May 2, 2024
582cf04
Avoid calling PseudobulkExpression directly
dcollins15 May 2, 2024
4257a58
Update BuildClusterTree to use requireNamespace
dcollins15 May 2, 2024
64fdfc5
Expand tests for BuildClusterTree
dcollins15 May 3, 2024
4569baa
Tidy test_tree.R
dcollins15 May 3, 2024
54e5f13
BuildClusterTree hides AverageExpression warning
dcollins15 May 4, 2024
2b03ddf
Skip BuildClusterTree tests if ape not installed
dcollins15 May 4, 2024
201abff
Merge pull request #911 from satijalab/fix/build_cluster_tree
dcollins15 May 5, 2024
a569c10
Improve test for Read10X_Image
dcollins15 Apr 30, 2024
9e7b201
Improve tests for Load10X_Spatial
dcollins15 May 5, 2024
1ab638f
Avoid duplicate images in visium_hd test data
dcollins15 Apr 29, 2024
211f644
Avoid duplicate images in visium test data
dcollins15 May 1, 2024
de7ae6b
Pass image.scale param to Read10X_Image
dcollins15 Apr 3, 2024
f8bc78a
Read10X_Coordinates doesn't expect "barcodes" as last column
dcollins15 Apr 30, 2024
5872ddf
Bump version
dcollins15 May 2, 2024
e38467c
Merge pull request #913 from satijalab/fix/image.scale
dcollins15 May 6, 2024
4817355
Replace image.scale with image.name in Read10X_Image
dcollins15 May 6, 2024
1c6ed40
Replace image.scale with image.name in Load10X_Spatial
dcollins15 May 6, 2024
8bafba0
Update test_load10X.R
dcollins15 May 6, 2024
3731874
Update NEWS
dcollins15 May 6, 2024
be81382
Update docs
dcollins15 May 6, 2024
7037be0
Bump version
dcollins15 May 6, 2024
f6f75a6
Merge pull request #914 from satijalab/fix/restore_image.name
dcollins15 May 6, 2024
f4aee60
Re-order params for FindMarkers.Seurat
dcollins15 May 6, 2024
94ca0a9
Update docs
dcollins15 May 6, 2024
89dcd3b
Bump version
dcollins15 May 6, 2024
3210a0c
Merge pull request #915 from satijalab/fix/find_markers_param_order
dcollins15 May 6, 2024
c7f6acb
Fixup test_spatial.R
dcollins15 May 4, 2024
8490952
Fixup test_utilities.R
dcollins15 May 5, 2024
b24906f
Bump version
dcollins15 May 6, 2024
811ad91
Merge pull request #916 from satijalab/fix/tests_no_suggests
dcollins15 May 6, 2024
b241b93
Add image.scale param to ISpatialDimPlot
dcollins15 Apr 22, 2024
cb9c954
Add image.scale param to SpatialFeaturePlot
dcollins15 Apr 22, 2024
e33d184
Add image.scale param to LinkedDimPlot
dcollins15 Apr 22, 2024
f0f416b
Add image.scale param to LinkedFeaturePlot
dcollins15 Apr 22, 2024
5b2e2c0
Update NEWS
dcollins15 May 6, 2024
d42e35b
Update docs
dcollins15 May 6, 2024
03ea470
Bump version
dcollins15 May 6, 2024
aa6e7b1
Merge pull request #917 from satijalab/fix/interactive_plots
dcollins15 May 6, 2024
eadfe44
Drop image.name param from Load10X_Spatial
dcollins15 May 6, 2024
c95b1f0
Update test_spatial.R
dcollins15 May 6, 2024
59c8583
Update test_load_10X.R
dcollins15 May 6, 2024
7c00ee3
Update NEWS
dcollins15 May 6, 2024
21be621
Update docs
dcollins15 May 6, 2024
36ba845
Bump version
dcollins15 May 6, 2024
090b503
Merge pull request #918 from satijalab/fix/drop_image.name
dcollins15 May 6, 2024
9b34cce
Fixup concept tags in generics.R
dcollins15 May 7, 2024
c501c5c
Fixup concept tags in integration.R
dcollins15 May 7, 2024
1747c30
Fixup concept tags in integration5.R
dcollins15 May 7, 2024
9335775
Fixup concept tags in objects.R
dcollins15 May 7, 2024
f280f37
Fixup concept tags in preprocessing.R
dcollins15 May 7, 2024
055b169
Fixup concept tags in preprocessing5.R
dcollins15 May 7, 2024
1f53a42
Fixup concept tags in reexports.R
dcollins15 May 7, 2024
6bd8613
Fixup concept tags in sketching.R
dcollins15 May 7, 2024
75f7c63
Fixup concept tags in utilities.R
dcollins15 May 7, 2024
9119749
Fixup concept tags in visualization.R
dcollins15 May 7, 2024
c1ed86f
Update docs
dcollins15 May 7, 2024
6792581
Tidy _pkgdown.yaml
dcollins15 May 7, 2024
a24b9e5
Add missing topics to _pkgdown.yaml
dcollins15 May 7, 2024
f0585e7
Bump version
dcollins15 May 7, 2024
01dabed
Merge pull request #919 from satijalab/fix/pkgdown_topics
dcollins15 May 7, 2024
d820b6a
Add coordinates to SpatialDimPlot hover
dcollins15 Apr 22, 2024
94b9127
Update NEWS
dcollins15 May 7, 2024
8ff0e6f
Bump version
dcollins15 May 7, 2024
e320abd
Merge pull request #920 from satijalab/feat/hover_coordinates
dcollins15 May 7, 2024
aff8e3b
First draft - Visium HD vignette
dcollins15 May 3, 2024
a19dbcc
Second draft - Visium HD vignette
dcollins15 May 3, 2024
d3c9cd3
Third draft - Visium HD vignette
dcollins15 May 3, 2024
9767434
Fourth draft - Visium HD vignette
dcollins15 May 6, 2024
d6c4036
Fifth draft - Visium HD vignette
dcollins15 May 7, 2024
926a2a9
Add VIsium HD vignette to vignettes config
dcollins15 May 7, 2024
81ae39c
Bump version
dcollins15 May 7, 2024
0d18c06
Drop pre-release install from Visium HD vignette
dcollins15 May 7, 2024
71a973e
Drop SeuratData from Visium HD vignette
dcollins15 May 7, 2024
fd9bfc6
Tidy Bansky install in Visium HD vignette
dcollins15 May 7, 2024
25eac3d
Tidy spacexr install in Visium HD vignette
dcollins15 May 7, 2024
ba4e8f2
Merge pull request #912 from satijalab/feat/visium_hd_vignette
dcollins15 May 7, 2024
0877f06
Suppress missing layer warnings in test_utilities.R
dcollins15 May 6, 2024
2d19c2b
Suppress missing layer warnings in test_transferdata.R
dcollins15 May 6, 2024
8c22106
Suppress missing layer warnings in test_integrate_data.R
dcollins15 May 6, 2024
4e2ac6a
Suppress missing layer warnings in test_differential_expression.R
dcollins15 May 6, 2024
98eeb4b
Bump SeuratObject pin
dcollins15 May 7, 2024
e0b45ae
Bump version
dcollins15 May 7, 2024
4900da4
Use standard Visium data to test BuildNicheAssay
dcollins15 May 7, 2024
3e239ea
Merge pull request #922 from satijalab/fix/missing_layer_warnings
dcollins15 May 7, 2024
a6f3c20
Bump SeuratObject pin
dcollins15 May 7, 2024
a8f3b2f
Fixup docstring for Radius.Visium1
dcollins15 May 8, 2024
ece572a
Fixup docstring for Read10X_Image
dcollins15 May 8, 2024
8fec8eb
Fixup docstring for BuildClusterTree
dcollins15 May 8, 2024
12f2a72
Fixup docstrings for PseudobulkExpression
dcollins15 May 8, 2024
1d0cd6b
Drop `skip_on_cran` from test_load_10X.R
dcollins15 May 8, 2024
f364e18
Drop `skip_on_cran` from test_spatial.R
dcollins15 May 8, 2024
7698c28
Drop `skip_on_cran` from test_tree.R
dcollins15 May 8, 2024
b936ed3
Drop `skip_on_cran` from test_utilities.R
dcollins15 May 8, 2024
87eb1a2
Reduce size of Visium test data
dcollins15 May 8, 2024
74d2ebe
Small speedup for test_load_10X.R
dcollins15 May 9, 2024
9083dbb
Update NEWS
dcollins15 May 7, 2024
79acac0
Update docs
dcollins15 May 8, 2024
affd751
Update DESCRIPTION
dcollins15 May 7, 2024
a9ce48f
Update cran-comments
dcollins15 May 8, 2024
21bb473
Softer deprecate for slot param in PseudobulkExpression
dcollins15 May 10, 2024
59cd1b2
Finalize CRAN comments
dcollins15 May 10, 2024
bba2165
Merge pull request #8870 from satijalab/release/5.1.0
dcollins15 May 10, 2024
95583fd
Fixup cran-comments
dcollins15 May 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Package: Seurat
Version: 5.0.3
Date: 2024-03-18
Version: 5.1.0
Date: 2024-05-08
Title: Tools for Single Cell Genomics
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.
Authors@R: c(
person(given = "Andrew", family = "Butler", email = "[email protected]", role = "ctb", comment = c(ORCID = "0000-0003-3608-0463")),
person(given = "Saket", family = "Choudhary", email = "[email protected]", role = "ctb", comment = c(ORCID = "0000-0001-5202-7633")),
person(given = 'David', family = 'Collins', email = '[email protected]', role = 'ctb', comment = c(ORCID = '0000-0001-9243-7821')),
person(given = "Charlotte", family = "Darby", email = "[email protected]", role = "ctb", comment = c(ORCID = "0000-0003-2195-5300")),
person(given = "Jeff", family = "Farrell", email = "[email protected]", role = "ctb"),
person(given = "Isabella", family = "Grabski", email = "[email protected]", role = "ctb", comment = c(ORCID = "0000-0002-0616-5469")),
Expand Down Expand Up @@ -34,7 +35,7 @@ Additional_repositories: https://satijalab.r-universe.dev, https://bnprks.r-univ
Depends:
R (>= 4.0.0),
methods,
SeuratObject (>= 5.0.0)
SeuratObject (>= 5.0.2)
Imports:
cluster,
cowplot,
Expand Down Expand Up @@ -117,6 +118,7 @@ RoxygenNote: 7.3.1
Encoding: UTF-8
Suggests:
ape,
arrow,
BPCells,
rsvd,
testthat,
Expand Down
7 changes: 7 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ S3method(GetImage,VisiumV1)
S3method(GetTissueCoordinates,STARmap)
S3method(GetTissueCoordinates,SlideSeq)
S3method(GetTissueCoordinates,VisiumV1)
S3method(GetTissueCoordinates,VisiumV2)
S3method(HVFInfo,SCTAssay)
S3method(IntegrateEmbeddings,IntegrationAnchorSet)
S3method(IntegrateEmbeddings,TransferAnchorSet)
Expand Down Expand Up @@ -133,6 +134,7 @@ S3method(ScaleData,Seurat)
S3method(ScaleData,StdAssay)
S3method(ScaleData,default)
S3method(ScaleFactors,VisiumV1)
S3method(ScaleFactors,VisiumV2)
S3method(ScoreJackStraw,DimReduc)
S3method(ScoreJackStraw,JackStrawData)
S3method(ScoreJackStraw,Seurat)
Expand All @@ -153,6 +155,7 @@ S3method(components,SCTAssay)
S3method(dim,STARmap)
S3method(dim,SlideSeq)
S3method(dim,VisiumV1)
S3method(dim,VisiumV2)
S3method(fortify,Centroids)
S3method(fortify,Molecules)
S3method(fortify,Segmentation)
Expand Down Expand Up @@ -353,7 +356,9 @@ export(PurpleAndYellow)
export(RPCAIntegration)
export(Radius)
export(Read10X)
export(Read10X_Coordinates)
export(Read10X_Image)
export(Read10X_ScaleFactors)
export(Read10X_h5)
export(Read10X_probe_metadata)
export(ReadAkoya)
Expand Down Expand Up @@ -463,9 +468,11 @@ exportClasses(SeuratCommand)
exportClasses(SpatialImage)
exportClasses(TransferAnchorSet)
exportClasses(VisiumV1)
exportClasses(VisiumV2)
importClassesFrom(Matrix,dgCMatrix)
importClassesFrom(SeuratObject,Assay)
importClassesFrom(SeuratObject,DimReduc)
importClassesFrom(SeuratObject,FOV)
importClassesFrom(SeuratObject,Graph)
importClassesFrom(SeuratObject,JackStrawData)
importClassesFrom(SeuratObject,Neighbor)
Expand Down
18 changes: 18 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Seurat 5.1.0 (2024-05-08)

## Changes
- Updated interactive `SpatialDimPlot`s to display spatial coordinates
- Updated `BuildClusterTree` to `PseudobulkExpression(..., method = "aggregate")` instead of `AverageExpression`
- Fixed `SpatialPlot` to properly handle images with shared cells
- Added `cluster.name` parameter to `BuildNicheAssay`
- Added `VisiumV2` class, inherits `SeuratObject::FOV`, returned by `Load10X_Spatial`
- Updated `Load10X_Spatial` to support loading Visium HD datasets - added `bin.size` parameter
- Updated `Read10X_Coordinates` to handle new `tissue_coordinates.parquet` files
- Added `shape` parameter to `SpatialPlot` and wrappers: `SpatialFeaturePlot` and `SpatialDimPlot`
- Added `image.scale` parameter to `SpatialPlot` and related functions: `SpatialFeaturePlot`/`ISpatialFeaturePlot` and `SpatialDimPlot`/`ISpatialDimPlot`
- Restored `image.name` parameter to `Read10X_Image`
- Added `scale` parameter to `Radius.VisiumV1`
- Fixed calculation of `spot.radius` attribute for `VisiumV1` instance returned by `Read10X_Image` — replace `scale.factors$fiducial` with `scale.factors$spot`
- Added `Read10X_Coordinates` and `Read10X_ScaleFactors`
- Fixed `SpatialPlot` to properly handle mutli-assay `Seurat` instances

# Seurat 5.0.3 (2024-03-18)

## Changes
Expand Down
12 changes: 10 additions & 2 deletions R/convenience.R
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ SpatialDimPlot <- function(
pt.size.factor = 1.6,
alpha = c(1, 1),
image.alpha = 1,
stroke = 0.25,
image.scale = "lowres",
shape = 21,
stroke = NA,
label.box = TRUE,
interactive = FALSE,
information = NULL
Expand All @@ -281,6 +283,8 @@ SpatialDimPlot <- function(
pt.size.factor = pt.size.factor,
alpha = alpha,
image.alpha = image.alpha,
image.scale = image.scale,
shape = shape,
stroke = stroke,
label.box = label.box,
interactive = interactive,
Expand All @@ -307,7 +311,9 @@ SpatialFeaturePlot <- function(
pt.size.factor = 1.6,
alpha = c(1, 1),
image.alpha = 1,
stroke = 0.25,
image.scale = "lowres",
shape = 21,
stroke = NA,
interactive = FALSE,
information = NULL
) {
Expand All @@ -325,6 +331,8 @@ SpatialFeaturePlot <- function(
pt.size.factor = pt.size.factor,
alpha = alpha,
image.alpha = image.alpha,
image.scale = image.scale,
shape = shape,
stroke = stroke,
interactive = interactive,
information = information
Expand Down
2 changes: 1 addition & 1 deletion R/differential_expression.R
Original file line number Diff line number Diff line change
Expand Up @@ -910,9 +910,9 @@ FindMarkers.DimReduc <- function(
#'
FindMarkers.Seurat <- function(
object,
latent.vars = NULL,
ident.1 = NULL,
ident.2 = NULL,
latent.vars = NULL,
group.by = NULL,
subset.ident = NULL,
assay = NULL,
Expand Down
2 changes: 1 addition & 1 deletion R/generics.R
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ IntegrateEmbeddings <- function(anchorset, ...) {
#'
#' @export
#'
#'
LeverageScore <- function(object, ...) {
UseMethod(generic = 'LeverageScore', object = object)
}
Expand Down Expand Up @@ -454,6 +453,7 @@ ProjectUMAP <- function(query, ...) {
#'
#' @rdname PseudobulkExpression
#' @export PseudobulkExpression
#' @concept utilities
#'
PseudobulkExpression <- function(object, ...) {
UseMethod(generic = "PseudobulkExpression", object = object)
Expand Down
28 changes: 23 additions & 5 deletions R/integration.R
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ FindTransferAnchors <- function(
LayerData(object = combined.ob, layer = data.layer.name) <- layer.data # set layer data
}
colnames(x = orig.loadings) <- paste0("ProjectPC_", 1:ncol(x = orig.loadings))

combined.ob[["pcaproject"]] <- combined.pca
Loadings(object = combined.ob[["pcaproject"]], projected = FALSE) <- orig.loadings[, dims]
Loadings(object = combined.ob[["pcaproject"]]) <- orig.loadings[, dims]
Expand Down Expand Up @@ -1901,6 +1901,7 @@ IntegrateEmbeddings.TransferAnchorSet <- function(
#' @importFrom Matrix t
#'
#' @export
#' @concept integration
#'
ProjectIntegration <- function(
object,
Expand Down Expand Up @@ -3056,6 +3057,7 @@ SelectIntegrationFeatures <- function(
#' @param ... Arguments passed on to \code{method}
#'
#' @export
#' @concept integration
#'
SelectIntegrationFeatures5 <- function(
object,
Expand Down Expand Up @@ -3088,6 +3090,7 @@ SelectIntegrationFeatures5 <- function(
#' @param ... Arguments passed on to \code{method}
#'
#' @export
#' @concept integration
#'
SelectSCTIntegrationFeatures <- function(
object,
Expand Down Expand Up @@ -6506,6 +6509,7 @@ ValidateParams_IntegrateEmbeddings_TransferAnchors <- function(
#' @importFrom Matrix sparseMatrix
#'
#' @export
#' @concept integration
#'
NNtoGraph <- function(
nn.object,
Expand Down Expand Up @@ -6670,7 +6674,9 @@ FindAssayAnchor <- function(
#'
#' @importFrom MASS ginv
#' @return Returns a object list in which each object has a bridge cell derived assay
#'
#' @export
#' @concept integration
#'
BridgeCellsRepresentation <- function(object.list,
bridge.object,
Expand Down Expand Up @@ -6822,7 +6828,8 @@ BridgeCellsRepresentation <- function(object.list,
#' @return Returns an \code{\link{AnchorSet}} object that can be used as input to
#' \code{\link{IntegrateEmbeddings}}.or \code{\link{MapQuery}}
#'

#' @keywords internal
#'
FindBridgeAnchor <- function(object.list,
bridge.object,
object.reduction,
Expand Down Expand Up @@ -7346,7 +7353,10 @@ SmoothLabels <- function(labels, clusters) {
#' @param verbose Print progress and message
#'
#' @return Returns a query-only or query-reference combined seurat object
#'
#' @export
#' @concept integration
#'
ProjectDimReduc <- function(query,
reference,
mode = c('pcaproject', 'lsiproject'),
Expand Down Expand Up @@ -7492,11 +7502,13 @@ ProjectDimReduc <- function(query,
#' @param laplacian.reduction.dims Number of dimensions used for graph laplacian eigenspace (default is 50)
#' @param verbose Print progress and message (default is TRUE)
#'
#' @export
#' @return Returns a \code{BridgeReferenceSet} that can be used as input to
#' \code{\link{FindBridgeTransferAnchors}}.
#' The parameters used are stored in the \code{BridgeReferenceSet} as well
#'
#' @export
#' @concept integration
#'
PrepareBridgeReference <- function (
reference,
bridge,
Expand Down Expand Up @@ -7642,11 +7654,13 @@ PrepareBridgeReference <- function (
#' }
#' @param verbose Print messages and progress
#'
#' @export
#' @return Returns an \code{AnchorSet} object that can be used as input to
#' \code{\link{TransferData}}, \code{\link{IntegrateEmbeddings}} and
#' \code{\link{MapQuery}}.
#'
#' @export
#' @concept integration
#'
FindBridgeTransferAnchors <- function(
extended.reference,
query,
Expand Down Expand Up @@ -7725,10 +7739,12 @@ FindBridgeTransferAnchors <- function(
#' }
#' }
#'
#' @export
#' @return Returns an \code{AnchorSet} object that can be used as input to
#' \code{\link{IntegrateEmbeddings}}.
#'
#' @export
#' @concept integration
#'
FindBridgeIntegrationAnchors <- function(
extended.reference,
query,
Expand Down Expand Up @@ -7807,6 +7823,7 @@ FindBridgeIntegrationAnchors <- function(
#' @importFrom rlang exec
#' @return Returns a Seurat object with integrated dimensional reduction
#' @export
#' @concept integration
#'
FastRPCAIntegration <- function(
object.list,
Expand Down Expand Up @@ -7912,6 +7929,7 @@ FastRPCAIntegration <- function(
#' @importFrom Matrix t
#'
#' @export
#' @concept integration
#'
UnSketchEmbeddings <- function(
atom.data,
Expand Down
4 changes: 4 additions & 0 deletions R/integration5.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ attr(x = HarmonyIntegration, which = 'Seurat.method') <- 'integration'
#'
#' @inheritParams RPCAIntegration
#' @export
#' @concept integration
#'
#' @examples
#' \dontrun{
Expand Down Expand Up @@ -342,6 +343,8 @@ attr(x = CCAIntegration, which = 'Seurat.method') <- 'integration'
#' @param ... Arguments passed on to \code{FindIntegrationAnchors}
#' @export
#'
#' @concept utilities
#'
RPCAIntegration <- function(
object = NULL,
assay = NULL,
Expand Down Expand Up @@ -444,6 +447,7 @@ attr(x = RPCAIntegration, which = 'Seurat.method') <- 'integration'
#' @inheritParams IntegrateEmbeddings
#' @param ... Arguments passed on to \code{FindIntegrationAnchors}
#' @export
#' @concept integration
#'
JointPCAIntegration <- function(
object = NULL,
Expand Down
Loading