pcView: Principal component visualization

View source: R/ggView.R

pcViewR Documentation

Principal component visualization

Description

Principal component visualization

Usage

pcView(
  mat,
  color = gsub(".*_", "", colnames(mat)),
  filename = NULL,
  width = 5,
  height = 4,
  ...
)

Arguments

mat

A data matrix.

color

The column name specifying the color.

filename

The file name of output figure.

width

The width of the output figure.

height

The height of the output figure.

...

parameters in ggsave.

Value

a ggplot instance.

Author(s)

Wubing Zhang


WubingZhang/rMAUPS documentation built on March 21, 2022, 8:48 p.m.