plot_contrib_to_pc: Plot contribution to pca

Description Usage Arguments

View source: R/lipidome_comparison_pca.R

Description

'plot_contrib_to_pc' plots the contributions of each variable to each principal component in a grid.

Usage

1
2
3
4
5
plot_contrib_to_pc(
  pca_element,
  title = "Contribution of variables to the principal components",
  out_path = "none"
)

Arguments

pca_element

Object produced by FactoMineR::PCA.

title

string. Main title of the plot. Default = "Contribution of variables to the principal components"

out_path

string. Path to save plot as png. If "none" (default), plot is printed to device.


lisaschneider0509/lipidomeComparisonR documentation built on Aug. 12, 2020, 12:52 a.m.