Learn R Programming

metabolomicsR (version 1.0.0)

plot_PCA: plot PCA

Description

Plot first two principal components.

Usage

plot_PCA(object, color = "NEG", shape = "NEG", size = 1.5)

Arguments

object

A Metabolite object.

color

A column in `@sampleData` to show the color of points.

shape

A column in `@sampleData` to show the shape of points.

size

Point size.

Value

PCA plot.