Displaying 1 result from an estimated 1 matches for "beta_sheet".
2008 Dec 19
0
How to plot arrows for a PLS plot with ggplot2?
...obs. of  5 variables:
 $ plsr1    : num  1.60 1.49 1.42 1.17 1.35 ...
 $ plsr2    : num  -1.822 -1.987 -0.758  0.172  0.421 ...
 $ res      : Factor w/ 18 levels "ARG","ASN","ASP",..: 1 1 1 1 1 1 1 1 1 1 ...
 $ type     : Factor w/ 2 levels "Alfa_Helix","Beta_Sheet": 2 2 2 2 2 2 2 2 2 2
2. Loadings plot. Here it is where my struggle comes from with ggplot2.
The Loadings are in this dataset!
> str(data2)
'data.frame':   4 obs. of  9 variables:
 $ plsr1    : num   0.9522  0.2986 -0.0898  0.1561
 $ plsr2    : num   0.2287 -0.9686 -0.1017  0.0105...