var_imp_plots: Principal Component Analysis with PCAtools package Convert...

View source: R/fct_04_pca.R

var_imp_plotsR Documentation

Principal Component Analysis with PCAtools package Convert PCA loadings to percent contribution values by squaring and plot them

Description

Principal Component Analysis with PCAtools package

Convert PCA loadings to percent contribution values by squaring and plot them

Usage

var_imp_plots(data, all_gene_names, PC)

Arguments

all_gene_names

vector of gene names from pre_process())

PC

# Selected principal component

processed_data

Matrix of gene data that has been through pre_process())

Value

A ggplot object as a formatted plot generated with PCAtools package


espors/idepGolem documentation built on June 11, 2025, 1:03 p.m.