Creates the legend for one sample or annotation variable using either the inbuilt color or an external one in the col option. If a file is given, the data will be plotted into a file. If neither pdf of svg is true the data will be plotted to a png file. File endings will always be added - so do not do that yourself.
1 2 3 4 5 6 7 8 9 10 |
x |
the StefansExpressionSet object |
colname |
the name of a column in the annotation or samples tables that should be described in the legend |
file |
the optional outfile |
svg |
create a svg file default=F |
pdf |
create a pdf file default=F |
col |
a vector of color names default=NULL |
family |
the grDevices font family (default 'Helvetica') |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.