plot_pcga: Plot the loadings of PCGA, optionally colored according to...

View source: R/dendRolAB_source_code_0.3.R

plot_pcgaR Documentation

Plot the loadings of PCGA, optionally colored according to some categorical sampling design.

Description

Visualizes the most important features from PCGA, i.e. loadings and explained variance of the first two PCs.

Usage

plot_pcga(x,col.vec = NULL,...)

Arguments

x

output from pcga

col.vec

optinal: a character vector indicating the colors to be used for loadings according to some specific sampling design

...

additional parameters to change the appearance of the plot

Note

for further details, please note the dendroschool video-tutorial on how to compute PCGA on dendroschool.org

Author(s)

Allan Buras

References

Buras et al., 2016: Tuning the voices of a choir: detecting ecological gradients in time-series populations. PLoS ONE 11(7): e0158346. DOI:10.1371/journal.pone.0158346


AllanBuras/dendRolAB documentation built on June 2, 2022, 11:27 p.m.