Skip to contents

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.

Usage

plotColors(x)

Arguments

x

an object of class RepSeqExperiment

Value

a list of distinct colors assigned to each sample/group in the mData.

Examples


data(RepSeqData)

colors <- plotColors(x = RepSeqData)