View source: R/pagodaWebSelections.R
factorToP2selection | R Documentation |
Converts a names factor to a p2 selection object if colors are provided it assigns those, otherwise uses a rainbow palette
factorToP2selection(cl, col = NULL)
cl |
factor |
col |
names vector of colors (default=NULL) |
a p2 selection object (list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.