Check that colors match with the number of fractions.
matchColors(coverage, colors)
coverage
a data.table with coverage
colors
a character vector of colors
number of genes in coverage