Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ exportMethods(rotate)
exportMethods(scale)
exportMethods(translation)
import(SpatialData)
importFrom(DelayedArray,path)
importFrom(DelayedArray,realize)
importFrom(Rarr,zarr_overview)
importFrom(S4Vectors,metadata)
importFrom(SingleCellExperiment,int_colData)
importFrom(SingleCellExperiment,int_metadata)
importFrom(SpatialData,channels)
importFrom(SpatialData,getZarrArrayPath)
importFrom(dplyr,mutate)
importFrom(dplyr,select)
importFrom(ggforce,geom_circle)
Expand Down
4 changes: 2 additions & 2 deletions R/plotImage.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ plotSpatialData <- \() ggplot() + scale_y_reverse() + .theme
}

# check if an image is rgb or not
#' @importFrom SpatialData getZarrArrayPath
#' @importFrom DelayedArray path
#' @importFrom Rarr zarr_overview
#' @noRd
.get_img_dt <- \(a) {
pa <- getZarrArrayPath(a)
pa <- DelayedArray::path(a)
df <- zarr_overview(pa, as_data_frame=TRUE)
if (!is.null(dt <- df$data_type)) return(dt)
}
Expand Down
Loading