Skip to content

Commit fe1675d

Browse files
committed
small fix to plotlabel
1 parent dfa51c5 commit fe1675d

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

R/plotLabel.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
#'
3232
#' # coloring by 'colData'
3333
#' n <- length(unique(t$id))
34-
#' pal <- hcl.colors(n, "Spectral")
35-
#' p + plotLabel(x, i, "id", pal=pal)
34+
#' # TODO: did a small fix to color scheme below, will fix example later
35+
#' # pal <- hcl.colors(n, "Spectral")
36+
#' pal_d <- hcl.colors(10, "Spectral")
37+
#' p + plotLabel(x, i, "id", pal=pal_d)
3638
#'
3739
#' # coloring by 'assay' data
3840
#' p + plotLabel(x, i, "channel_1_sum")

man/plotLabel.Rd

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

0 commit comments

Comments
 (0)