From 719aa65773bc6e14f626783c0f5f42b5fff3fa58 Mon Sep 17 00:00:00 2001 From: David Barnett Date: Tue, 20 Sep 2022 21:51:44 +0200 Subject: [PATCH] website article tweak --- vignettes/web-only/ordination.Rmd | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vignettes/web-only/ordination.Rmd b/vignettes/web-only/ordination.Rmd index 9d38f3ad..a2ee048a 100644 --- a/vignettes/web-only/ordination.Rmd +++ b/vignettes/web-only/ordination.Rmd @@ -200,7 +200,8 @@ ibd %>% scale_colour_brewer(palette = "Dark2") ``` -## Use ggside to add univariable distribution plots + +## Univariable distribution side panels As the ordination figures are (pretty much) just standard ggplot objects, integration with other ggplot extensions like `ggside` is typically possible. @@ -238,6 +239,7 @@ ibd %>% ggside::geom_ysidedensity(aes(fill = ibd), alpha = 0.5, show.legend = FALSE) + ggside::theme_ggside_void() ``` + ## RDA {#rda} Redundancy analysis is a constrained ordination method. It displays the microbial variation that can also be explained by selected constraint variables. @@ -267,7 +269,7 @@ ibd %>% ) ``` -### Customising your ordination plot +## Customising your ordination plot The plot above looks okay by default, but it is fairly easy to tweak ord_plot further to get the style just how you want it. The code below has comments to explain which part makes which changes to the plot. @@ -318,7 +320,7 @@ ibd %>% coord_fixed(ratio = 1, clip = "off") ``` -#### Custom labels +### Custom labels `tax_lab_style()` is a helper function that gives you some options for customising the look of the taxa loading labels, including, in this example, @@ -368,7 +370,7 @@ ibd %>% ``` -### Partial ordinations +## Partial ordinations Tutorial coming soon, for now see `ord_plot()` for examples.