Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Nov 23, 2024
1 parent 88d4375 commit 59d5d48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vignettes/heatmap-layout.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ refer to
[ImageMagick's resize documentation](https://usage.imagemagick.org/resize/).

You can rasterize all plots in the layout directly with `raster_magick()`. This
method works for both `ggheatmap()`/`quad_layout()` and `ggstack()` objects.
method works for both `ggheatmap()`/`quad_layout()` and
`ggstack()`/`stack_layout()` objects.

Additionally, You can use external packages like
[ggrastr](https://github.com/VPetukhov/ggrastr) or
Expand All @@ -145,8 +146,8 @@ ggheatmap(small_mat, filling = FALSE) +
```

You can also rasterize all plots in the layout directly with
`ggrastr::rasterise()`. This method works for both
`ggheatmap()`/`quad_layout()` and `ggstack()` objects. Indeed, the core code of
`ggrastr::rasterise()`. This method works for both `ggheatmap()`/`quad_layout()`
and `ggstack()`/`stack_layout()` objects. Indeed, the core code of
`raster_magick()` was adopted from `ggrastr::rasterise()`.
```{r eval=rlang::is_installed("ragg")}
ggrastr::rasterise(ggheatmap(small_mat), dev = "ragg")
Expand Down

0 comments on commit 59d5d48

Please sign in to comment.