plot_PC_loadings: Plot PC loadings

Description Usage Arguments

View source: R/plot_PC_loadings.R

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

1
plot_PC_loadings(rotation_matrix)

Arguments

rotation_matrix

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


BenaroyaResearch/RNAseQC documentation built on June 14, 2020, 7:59 a.m.