pca_correlation_plot: PCA correlation plot

View source: R/PCA_plotfcns.R

pca_correlation_plotR Documentation

PCA correlation plot

Description

A plot of the correlation between the variables/features and the selected principal component scores. Features with high correlation are well represented by the selected component(s)

Usage

pca_correlation_plot(components = c(1, 2), ...)

Arguments

components

(numeric) The Principal Components used to generate the plot. The default is c(1, 2).

...

Additional slots and values passed to struct_class.

Value

A pca_correlation_plot object. This object has no output slots. See chart_plot in the struct package to plot this chart object.

Inheritance

A pca_correlation_plot object inherits the following struct classes:

⁠[pca_correlation_plot]⁠ >> ⁠[chart]⁠ >> ⁠[struct_class]⁠

Examples

M = pca_correlation_plot(
      components = c(1, 2))

C = pca_correlation_plot()

computational-metabolomics/structtoolbox documentation built on Feb. 9, 2024, 8:19 a.m.