pc {BeadExplorer} | R Documentation |
Produces a sample PCA plot
pc(data, xpca = 1, ypca = 2, col = NULL, verbose = FALSE, labels=colnames(data), pos = 2, offset = 0.5, cex.text=0.8,...)
data |
A matrix of expression values |
xpca |
Principal component to plot on x-axis |
ypca |
Principal component to plot on y-axis |
col |
A vector of colours used to represent each sample - default is rainbow colours |
verbose |
Logcial specifying if commentray should be outputted |
labels |
A vector of character labels to use for labeling. Default is sample names |
pos |
Position relative to plot point to label samples, see text |
offset |
Distance from plot point to place for labels, see text |
cex.text |
Text size relative to default |
... |
Arguments passed to plot |
Provides a sample PCA plot of data. Should only be required for customised analysis - defaults are used in plotSamples
Nothing
Gareth Elvidge gareth.elvidge@well.ox.ac.uk
data(examplebeadData) pc(exprs(examplebeadData))