setCol | R Documentation |
Attach the colors for plotting to the fish object, ensuring that they are valid. If no color vector is provided, a default color scheme is used.
setCol(fish, col = NULL)
fish |
A fish object with the frac.table slot filled in |
col |
A vector of colors with the same length as the number of clones (number of rows in the frac table) |
The fish object with the colors stored in the appropriate slot
## Not run:
setCol(fish)
fish = setCol(fish, c("red","yellow","blue","green"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.