his function is a convenient wrapper for applying categorical
color formatting to cell background colors, and applies a contrasting
color to the text in cells using <code><a href="setTextContrastColor.html">setTextContrastColor()</a></code>.
It uses a named character vector of colors supplied as <code>colorSub</code>
to define cell background colors, and optionally <code>colorSubText</code>
to define a specific color for the cell text.</p>
    </div>
    <div class="section level2">
    <h2 id="see-also">Se