Skip to content

Commit

Permalink
adding warning message.
Browse files Browse the repository at this point in the history
  • Loading branch information
boyiguo1 committed Nov 7, 2023
1 parent 4f742ae commit fafedfb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vignettes/SRT_eg.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,18 @@ make_escheR(spe) |>
)
```

> NOTE: It would be intrinsically difficult to construct a clear, intuitive and precise visualization when the number of categories/levels is large.

### Guidance in choosing bivariate color palette

In this vignettes, we don't provide or recommend specific color palettes, because the selection of color palettes is highly relevant to the underlying message and heterogeneous across analysis and studies, e.g. sequential palettes, qualitative palette, and divergent palette. Instead, we direct interested user to explore the topic on _bivariate color palette_. The [blog post](https://jakubnowosad.com/posts/2020-08-25-cbc-bp2/) by Jakub Nowosad and R package [`biscale`](https://cran.r-project.org/web/packages/biscale/vignettes/bivariate_palettes.html) could be helpful to optimize your color palette for bivariate visualization.


In addition, if color palette is extremely to curate, e.g. large number of levels, it is possible to use symbols ([`add_symbol()`](##Adding-layers)) to annotate specific levels to avoid clutter in the color space.



## Adjusting aesthetics
Given that the `escheR` package is developed based on `ggplot2`, aesthetics can be easily adjusted following the `ggplot2` syntax. For example, given a `escheR` plot object, one can use `+` with `theme_*`, `scale_*` functions.

Expand Down

0 comments on commit fafedfb

Please sign in to comment.