Plot an ordination
Usage
plot_ordination(
ord,
groups = NULL,
group_title = "Group",
axes = c(1, 2),
labels = FALSE,
ellipses = TRUE,
tooltip = NULL,
dark = FALSE
)Arguments
- ord
A
cl_ordfromordinate().- groups
Optional named vector of groups for colour.
- group_title
Legend title.
- axes
Which two axes to plot.
- labels
Show sample names.
- ellipses
Draw 95% ellipses for groups with at least four samples.
- tooltip
Optional named character vector of hover text.
- dark
Colours for a dark background.