PCAplotter: PCAplotter my awesome function #1

View source: R/PCAplot.R

PCAplotterR Documentation

PCAplotter my awesome function #1

Description

creates PCA plot

Usage

PCAplotter(dat, ntop = 5000, color = NULL, shape = NULL,
  title = "", label = NULL)

Arguments

dat:

normalized deseq data (with varianceStablizing, rlog etc)

ntop:

how many genes to include

color:

how to group colors

shape:

how to group shapes. (by default NULL if only color by groups wanted)

title:

title of plot

label:

vector of labels for each point (optional)

Examples

vst <- varianceStabilizingTransformation(dds);
PCAplotter(dat = vst,ntop = 1000,color = colData$cellType, shape = colData$treatment,title = "PCA plot top1000 genes", label = colData$sample)

perllb/deseqAbstraction documentation built on Oct. 31, 2023, 2:13 a.m.