ch.plot: Cross-hair plotting functions for 2D NMDS plots.

Description Usage Arguments Details Value Author(s)

View source: R/ch.plot.R

Description

This is a high level plotting function that produces a "cross-hair" plot of centroids and standard deviations for groups of ordinated points, as is often desired with community genetics data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
ch.plot(
  x = "ordination matrix",
  g = "groupings",
  cex = 1,
  lwd = 1,
  mu.pch = 19,
  pt.col = 1,
  bar.col = 1,
  xlab = "X1",
  ylab = "X2"
)

Arguments

x

Ordination matrix.

g

Grouping (i.e. genotype) vector.

cex

Value to scale centroids.

lwd

Line width scaler.

mu.pch

Centroid shape.

pt.col

Centroid color.

xlab

X-axis label: DEFAULT = X1.

ylab

Y-axis label: DEFAULT = X2.

car.col

Error bar color.

Details

Simple way to plot centroids of groups of ordinated points with standard error values.

Value

Produces a 2-D plot of centroids with variance bars (i.e. "cross-hairs").

Author(s)

Matthew K. Lau


ECGen/ComGenR documentation built on July 23, 2021, 11:44 p.m.