Description Usage Arguments Value
This function is a wrapper for plotting results from prcomp. It takes a matrix of expression values, and some extra info to color and label the individual points (which are presumed to be samples in a gene expression experiment for my purposes).
1 2 |
expression.matrix |
a matrix of gene expression values |
sample.labels |
The names which should be drawn over each point in the plot, i.e. the column (sample) names of the expression matrix |
sample.colors |
Colors for each sample (column) to be plotted |
title.addition |
A subtitle to put under the main title ("Principle Components Analysis (PCA)") |
The results from prcomp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.