Plots PLS from scores file (output of PLSR_from_file)
1 2 3 4 |
file |
File containing scores matrix |
info.name |
Vector of sample names |
info.type |
Vector of sample types in the same order |
title |
Title of the plot |
labels |
default=T |
PCx, PCy |
PCs to display |
ellipse |
Construct confidence region based on groups in info.type, default = T |
conf |
default = 0.95 |
saveplot |
do you want to save the plot |
savetype |
default=".pdf", ".png" is also possible |
w |
width default=8 |
h |
height default=6 |
h |
colpalette can add your own vector of colors to color groups. default is ggplot default colors |
h |
legendname legend name |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.