getVE: getVE

View source: R/plot_pca.R View source: R/plotPCA.R

getVER Documentation

getVE

Description

Calculate variance explained in pca. used in plotPrincipalComponents

Calculate variance explained in pca. used in plotPrincipalComponents

Usage

getVE(pc, component = "PC1")

getVE(pc, component = "PC1")

Arguments

pc

prcomp object

component

principal component

Value

matrix of variance explained for a principal component

matrix of variance explained for a principal component


OxfordCMS/OCMSutility documentation built on Feb. 27, 2025, 8:19 p.m.