PCAplotter | R Documentation |
creates PCA plot
PCAplotter(dat, ntop = 5000, color = NULL, shape = NULL,
title = "", label = NULL)
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) |
vst <- varianceStabilizingTransformation(dds);
PCAplotter(dat = vst,ntop = 1000,color = colData$cellType, shape = colData$treatment,title = "PCA plot top1000 genes", label = colData$sample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.