Skip to content

Commit ae49eed

Browse files
committed
add 'c' and 'cl' examples in 'ImageArray' doc; git push
1 parent e751450 commit ae49eed

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

R/plotImage.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
#' plotImage(x, i=2, k=.))
3232
#' patchwork::wrap_plots(ms)
3333
#'
34+
#' # custom colors
35+
#' cmy <- c("cyan", "magenta", "yellow")
36+
#' plotSpatialData() + plotImage(x, c=cmy)
37+
#'
38+
#' # contrast limits
39+
#' plotSpatialData() + plotImage(x, c=cmy,
40+
#' cl=list(c(0.2,1), c(0,0.8), c(0,1)))
41+
#'
3442
#' @import SpatialData
3543
NULL
3644

man/plotImage.Rd

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)