View source: R/plot_cca_loadings.R
plot_cca_loadings | R Documentation |
Input Projected loading score from matrix A & B run.cca output WGCNA modules for matrix A & B
plot_cca_loadings(projx, projy, modulecolor, modulecolor2, number_plot, name)
projx |
file, from run_cca output; matrix A loadings |
projy |
file, from run_cca output; matrix B loadings |
modulecolor |
file, wgcna module; variable cluster specification for matrix A |
modulecolor2 |
file, wgcna module; variable cluster specification for matrix B |
number_plot |
int, numbers of component to plot |
name |
string, name of output files |
Output: Scatter plots from specified number of components for matrix A Scatter plots from specified number of components for matrix B
Note: 1) projected loading avoids collinearity of loadings 2) variables (drugs, genes) are colored with wgcna modules; a two column dataframe - variables in col1, modulecolor in col2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.