Skip to content

Commit e825abc

Browse files
committed
fix :: calls
1 parent c8a2dc3 commit e825abc

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

R/plotFrame.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ NULL
9393
setMethod("plotShape", "SpatialData", \(x, i=1, j=1, assay=1, ...) {
9494
if (is.numeric(i)) i <- shapeNames(x)[i]
9595
y <- shape(x, i)
96-
y <- SpatialData::transform(y, j)
96+
y <- spatialdataR::transform(y, j)
9797
.plot(x, y, assay=assay, i=i, ...)
9898
})
9999
#' @export
100100
#' @rdname plotFrame
101101
setMethod("plotPoint", "SpatialData", \(x, i=1, j=1, ...) {
102102
if (is.numeric(i)) i <- pointNames(x)[i]
103103
y <- point(x, i)
104-
y <- SpatialData::transform(y, j)
104+
y <- spatialdataR::transform(y, j)
105105
.plot(x, y, i=i, ...)
106106
})

R/plotLabel.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ setMethod("plotLabel", "SpatialData", \(x, i=1, j=1, k=NULL, c=NULL,
7575
t <- table(x, hasTable(x, i, name=TRUE))
7676
ik <- .instance_key(t)
7777
# TODO: search ik in both internal and regular colData for now
78-
# thus perhaps update, SpatialData::valTable instead
78+
# thus perhaps update, spatialdataR::valTable instead
7979
# idx <- match(df$z, int_colData(t)[[ik]])
8080
if(ik %in% names(int_colData(t))){
8181
coldata <- int_colData(t)[[ik]]

vignettes/SpatialData.plot.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ pa <- get_demo_SDdata("merfish")
162162
(x <- readSpatialData(pa))
163163
```
164164

165-
There are only `r length(SpatialData::shape(x, "cells"))` cells, but
166-
`r format(length(SpatialData::point(x, "single_molecule")), big.mark=",")`
165+
There are only `r length(spatialdataR::shape(x, "cells"))` cells, but
166+
`r format(length(spatialdataR::point(x, "single_molecule")), big.mark=",")`
167167
molecules, so that we downsample a random subset of 1,000 for visualization:
168168

169169
```{r merfish-plot, fig.width=6, fig.height=4}

0 commit comments

Comments
 (0)