This function allows an automatic color assigning, chosen from color-blinded friendly palettes, to every sample and experimental group in the metadata. As such, each sample/group will be assigned the same color in all the visualization functions.
Arguments
- x
an object of class
RepSeqExperiment
Examples
data(RepSeqData)
colors <- plotColors(x = RepSeqData)