plot_pls: Plot PLS

View source: R/plot_pls.R

plot_plsR Documentation

Plot PLS

Description

Plots PLS from scores file (output of PLSR_from_file)

Usage

plot_pls(
  file,
  info.name,
  info.type,
  title = "",
  labels = TRUE,
  PCx = "comp1",
  PCy = "comp2",
  ellipse = F,
  conf = 0.95,
  fliph = F,
  flipv = F
)

Arguments

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

fliph

default = F

flipv

default = F


graeberlab-ucla/glab.library documentation built on Oct. 28, 2024, 10:48 a.m.