palette_viz: This function allows you to visualize a palette

View source: R/palette_viz.R

palette_vizR Documentation

This function allows you to visualize a palette

Description

This function allows you to visualize a palette

Usage

palette_viz(col_vec)

Arguments

col_vec

vector containing the palette colors

Value

Tile plot showing the palette composition

Examples

## Not run: 
hex_vec <- c("#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00",
"#CC79A7", "#666666", "#AD7700", "#1C91D4", "#007756", "#D5C711",
"#005685", "#A04700")
palette_viz(col_vec = hex_vec)

## End(Not run)


Single-Cell-Genomics-Group-CNAG-CRG/SCrafty-package documentation built on Aug. 20, 2022, 9:29 a.m.