View source: R/PLSR_from_file.R
PLSR_from_file | R Documentation |
Writes out Xscores, Xloadings, and PVE. Plot scores output with plot_pls()
PLSR_from_file(
file,
sample.names,
sample.type,
y.response,
title = "PLSR",
comps = 5,
scale = F,
comp.x = "comp.1",
comp.y = "comp.2",
labels = F,
fread = F
)
file |
file for X matrix |
sample.names |
vector of names of the samples |
sample.type |
vector of sample groups |
y.response |
numeric vector of response values in same order as samples |
title |
title of the plot |
comps |
number of components to compute |
scale |
default=F |
comp.x , comp.y |
comps to display |
labels |
label the plot, default = F |
fread |
default = F |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.