setCol: 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.
Description
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.
Usage
setCol(fish, col = NULL)
Arguments
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)
Value
The fish object with the colors stored in the appropriate slot