plot.pca: Show PCA output

Description Usage Arguments Author(s)

View source: R/plot-methods.R

Description

Show PCA output

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'pca'
plot(
  x,
  ncomp = min(10, length(x$sdev)),
  type = "barplot",
  explained.var = TRUE,
  ...
)

Arguments

x

A pca object

ncomp

Integer, the number of components

type

Character, default "barplot" or any other type available in plot, as "l","b","p",..

explained.var

Logical, whether to plot the explained variance

...

Not used

Author(s)

Kim-Anh LĂȘ Cao, Florian Rohart, Leigh Coonan, Al J Abadi


mixOmics documentation built on Nov. 8, 2020, 11:12 p.m.