Skip to content

Cleanup of plotLabel()#17

Merged
Bisaloo merged 12 commits into
HelenaLC:mainfrom
Bisaloo:plotLabel-hugo
May 7, 2026
Merged

Cleanup of plotLabel()#17
Bisaloo merged 12 commits into
HelenaLC:mainfrom
Bisaloo:plotLabel-hugo

Conversation

@Bisaloo
Copy link
Copy Markdown
Collaborator

@Bisaloo Bisaloo commented Apr 28, 2026

x <- SpatialData.data::ColorectalCarcinomaMIBITOF()

library(SpatialData.plot)
#> Loading required package: SpatialData
#> 
#> Attaching package: 'SpatialData'
#> The following object is masked from 'package:utils':
#> 
#>     data
#> The following objects are masked from 'package:base':
#> 
#>     labels, scale, sequence, table, transform
p1 <- plotSpatialData() + plotImage(x, 3)
p2 <- plotSpatialData() + plotLabel(x, 3, c="Cluster", pal = grDevices::palette.colors(9))

library(patchwork)
p1 + p2
image

Created on 2026-04-28 with reprex v2.1.1

@Bisaloo Bisaloo marked this pull request as ready for review May 7, 2026 11:27
@Bisaloo Bisaloo merged commit a37731b into HelenaLC:main May 7, 2026
5 checks passed
@Bisaloo Bisaloo mentioned this pull request May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant