Description Usage Arguments Value See Also Examples
Pairwise Principal Component Analysis Plots of CountDataSet objects
1 2 | PCAplot.cds(countdataset, categories, categories2, title, colorpalette,
alpha = 1, numcomponents = 4, normalize.counts = TRUE)
|
countdataset |
CountDataSet, required |
categories |
character string, column header of column containing different categories to highlight with colors, required |
categories2 |
character string, column header of column containing different categories to highlight with shapes, optional |
title |
character string, title for the plot, required |
colorpalette |
charcter vector of RGB colors (long enough for a color per category), required |
alpha |
alpha shading from 0 (transparent) to 1 (opaque), defaults to 1 |
numcomponents |
number of principal components to plot, defaults to 4 |
pairwise plots of samples plotted by principal component
pair
which this function uses to plot all pairwise combos
1 | PCAplot.cds(countdataset=cds, categories="condition", title="PCAplot", colorpalette=c("#FF0000", "#00FF00", "#0000FF"), alpha=0.8, numcomponents=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.