Description Usage Arguments Details
Produces a report with annotated PCA plots.
1 | pca_report(mat, annot = NULL, outdir = NULL, prefix = NULL)
|
mat |
numeric matrix with measures per feature and sample, with samples in the columns and features in the rows |
annot |
data frame with annotation to be plotted. |
outdir |
path to output the plots; if 'NULL' then the PCA is printed in the current open device |
prefix |
prefix of the filename to save the file |
For each variable in 'annot' a PCA plot is produced. All the PCA plots are the same, only the representation of the annotation changes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.