plot_pls: Plot PLS

Description Usage Arguments

Description

Plots PLS from scores file (output of PLSR_from_file)

Usage

1
2
3
4
plot_pls(file, info.name, info.type, title = "", labels = TRUE,
  PCx = "comp.1", PCy = "comp.2", ellipse = F, conf = 0.95,
  saveplot = F, savename = "default", savetype = ".pdf", w = 8,
  h = 6, legendname = "type", colpalette = NULL)

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

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


graeberlab/small.cell.project documentation built on May 12, 2019, 5:16 p.m.