loadingsPlot: Loadings Plot

View source: R/groupComp.R

loadingsPlotR Documentation

Loadings Plot

Description

Creates dot chart with the loadings of selected principal component.

Usage

loadingsPlot(pcdt, pc = 1, interactive = TRUE, len = 100)

Arguments

pcdt

The prcomp object to use for plotting

pc

A numeric indicating the principal component selected

interactive

Boolean indicating if a plotly will be output instead of a ggplot

Value

A ggplot2 or plotly dot plot with the loadings of selected principal component

Author(s)

Jordi Rofes Herrera


jordirofes/OmniOmics documentation built on Nov. 22, 2022, 5:46 a.m.