diff --git a/R/gg_annotation_raster.R b/R/gg_annotation_raster.R index cd1ada8..c86aa89 100644 --- a/R/gg_annotation_raster.R +++ b/R/gg_annotation_raster.R @@ -19,6 +19,11 @@ #' `giottoLargeImage` passes to automated resampling params see #' `?auto_image_resample` for details #' @return `gg` object with images to plot appended as annotation rasters +#' @examples +#' gimg <- GiottoData::loadSubObjectMini("giottoLargeImage") +#' gg <- ggplot2::ggplot() +#' out <- GiottoVisuals::gg_annotation_raster(gg, gimg) +#' print(out) NULL # * list #### diff --git a/man/gg_annotation_raster.Rd b/man/gg_annotation_raster.Rd index fdff3c4..d0cf44e 100644 --- a/man/gg_annotation_raster.Rd +++ b/man/gg_annotation_raster.Rd @@ -44,3 +44,9 @@ No ... params are implemented for \code{giottoImage}. \cr ... params for \code{giottoLargeImage} passes to automated resampling params see \code{?auto_image_resample} for details } +\examples{ +gimg <- GiottoData::loadSubObjectMini("giottoLargeImage") +gg <- ggplot2::ggplot() +out <- GiottoVisuals::gg_annotation_raster(gg, gimg) +print(out) +}