plot_pca_vsd: PCA plot from vsd object

Description Usage Arguments Value

View source: R/rnaseq.R

Description

PCA plot from vsd object

Usage

1
plot_pca_vsd(vsd, var, pal = NULL, dir = 1)

Arguments

vsd

A vsd object

var

A string - the name of the variable matching metadata columns

pal

A string - palette name of RColorBrewer. Default value is NULL, taking the palettes set up in options('xmc.tripalette').

dir

An integer - 1 or -1, to adjust the direction of colors. Default value is 1.

Value

A ggplot2 plot


xmc811/xmcutil documentation built on June 4, 2021, 10:48 a.m.