plotComponentVariance: Plot fraction of variance explained by the successive reduced...

plotComponentVarianceR Documentation

Plot fraction of variance explained by the successive reduced space components (PCA, CPCA)

Description

Requires buildGraph() or updatePairs() to be ran first with the argument score.component.variance=TRUE.

Usage

plotComponentVariance(
  conos.obj,
  space = "PCA",
  plot.theme = ggplot2::theme_bw()
)

Arguments

conos.obj

conos object

space

character Reduction space to be analyzed (currently, component variance scoring is only supported by PCA and CPCA) (default='PCA')

plot.theme

ggplot theme (default=ggplot2::theme_bw()). Refer to <https://ggplot2.tidyverse.org/reference/ggtheme.html> for more details.

Value

ggplot


conos documentation built on May 29, 2024, 9:56 a.m.