Given a data.frame consisting of sample annotations, this function returns a vector which gives a colour per annotation level.
a data.frame containing the sample annotations (of dimension 'samples x annotations').
Arbitrary colours are attributed to some specific
annotations met by the author, and for the remaining
annotation levels, the colours are attributed using
A vector of colours indexed by the annotation levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.