plot_ord: Plot PCoA

Description Usage Arguments Value

Description

Plot a Principal Coordinate Analysis coordinates

Usage

1
2
3
4
plot_ord(ord_res, ord_eig = NULL, size = 1, colData = NULL,
  colLabel = "Variable", title = "Ordination plot",
  prin_curve = FALSE, edgesCol = "grey57", pathCol = "#2171B5",
  lwd = 1.5, ...)

Arguments

ord_res

rordination coordinates

ord_eig

eigenvalues of the ordination

size

size of the segments connecting datapoints to the principal curve

colData

[Optional] covariates to color the points

colLabel

[Optional] label for the covariate

title

[Optional] title of the plot

prin_curve

[Optional] boolean whether to include a principal curve

edgesCol

[Optional] color of the segments. Default "grey".

pathCol

[Optional] color of the path. Default "#2171B5".

lwd

[Optional] path line width

...

other graphical parameters

Value

A ggplot2 object.


nlhuong/buds documentation built on May 17, 2019, 3:13 a.m.