Skip to contents

Style oncogenicity cell background based on value (Generated by Claude Opus 4.6 with some manual tweaks)

Usage

render_oncogenicity_cell(data, color_palette = pcgrr::color_palette)

Arguments

data

The main data frame (passed via closure)

Value

An HTML span element with background color corresponding to the oncogenicity category, using colors defined in color_palette$oncogenicity.