plotpca: Plot PCA bubble plot

Description Usage Arguments Value See Also

Description

For preliminary visual assessment of data groups in PCA.

Usage

1
2
plotpca(pca, size = NULL, sizeamp = 3, class, saveplot = FALSE,
  plotsize = 1000)

Arguments

pca

prcomp object

size

optional. numeric. geometric size, e.g. size value from rGPA or rNEF. size is overlaid as bubble size in the plot.

class

factor. giving the species/grouping. NOTE: currently only support up to 12 levels.

saveplot

logical. whether to save the plot

plotsize

numeric. plot size for the plot saved into file (used only when saveplot=TRUE), unit in pixel.

sizeamp

numeric. to adjust the size of the bubble.

Value

Just the plot, consist of the first 3 PCs.

See Also

Function that wraps this function: rNEF, rGPA, routine1


jinyung/otolith documentation built on May 19, 2019, 10:36 a.m.