How can I control colors for different colAttributes: one as Factor and other is Condition. Can I use different colors for these two cola attributes? Additionally, How can I have the color annotation for each factor and condition. Kindly help. Thanks!
colSideCols parameter can be a list of vectors of colors. Each vector specifies the colors to use for each of the attributes.
For example, using the sample data provided with
data(tamoxifen_counts) plot(tamoxifen, ColAttributes=c(DBA_TISSUE,DBA_CONDITION), colSideCols=list(c("red","green","blue","yellow"),c(5:6)))
I'm not sure I understand the difference between the main question (different colors for the two attributes) and the "additional" question (color for each factor and condition)?