plotPCA: Plot PCA

View source: R/func.R

plotPCAR Documentation

Plot PCA

Description

plotPCA creates a principal analysis plot using first two components.

Usage

plotPCA(
  pdat,
  with.legend = TRUE,
  point.size = 1.2,
  text.size = 10,
  label.size = 3,
  legend.text.size = 7,
  palette = cbPalette
)

Arguments

pdat

Peptide or protein proteusData object.

with.legend

Logical, whether to plot a legend.

point.size

Size of the point in the plot.

text.size

Size of the axis text.

label.size

Size of the text labels identifying sapmles.

legend.text.size

Size of the legend text.

palette

Palette of colours

Value

Creates a plot

Examples

library(proteusLabelFree)
data(proteusLabelFree)
plotPCA(pepdat)

bartongroup/Proteus documentation built on April 22, 2023, 5:33 a.m.