check_color_code: Check the validation of a color code dataframe

View source: R/mapper_vis.R

check_color_codeR Documentation

Check the validation of a color code dataframe

Description

check_color_code check the validation of a color code dataframe

Usage

check_color_code(color_code)

Arguments

color_code

The color code dataframe

Details

A valid color code dataframe contains two columns: Abbrev and Hex.Colors. The column Abbrev contains names of groups that should match the names of groups in the data. The column Hex.Colors contains self defined colors of groups where colors should be defined as Hex color codes. A tool for picking up colors can be found here.

Examples

temp = auto_set_colorcode(c('a','b','c'))
check_color_code(temp)


TianshuFeng/SemiMapper documentation built on Sept. 16, 2022, 10:26 p.m.