plot_PC_loadings: Plot PC loadings

View source: R/plot_PC_loadings.R

plot_PC_loadingsR Documentation

Plot PC loadings

Description

Plot the loadings of each variable on each principal component. Each variable is plotted as a colored line. In the future, I may expand this function to take prcomp and princomp objects, and to provide additional handles for manipulating the plots (e.g. number of variables and/or number of PCs to plot), outputting to pdf, etc.

Usage

plot_PC_loadings(rotation_matrix)

Arguments

rotation_matrix

a PCA rotation or loading matrix. Should have genes in rows and PCs in columns.


mjdufort/RNAseQC documentation built on April 19, 2024, 3:13 p.m.