Skip to content

Commit

Permalink
Update image_tools.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic committed Jan 4, 2024
1 parent 8f9f20d commit bba64c1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions vignettes/image_tools.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,15 @@ For monochrome colorscales: `getMonochromeColors()`
```{r}
gimg@colors <- getMonochromeColors("green")
plot(gimg)
plot(gimg, col = GiottoVisuals::getColors("viridis", n = 256)) # can be used without setting the slot
viridis_colors <- hcl.colors(256, palette = "viridis")
plot(gimg, col = viridis_colors) # can be used without setting the slot
```

### TODOs:

TODOs:
- provide accessor for these slots
- make *ggplot*-based plotting also obey these settings
- provide accessors for these slots
- make *ggplot*-based plotting also obey these settings

```{r}
sessionInfo()
```

0 comments on commit bba64c1

Please sign in to comment.