create_fill_palette: Make a vector of colours based on a character vector

View source: R/countPlot.R

create_fill_paletteR Documentation

Make a vector of colours based on a character vector

Description

Make a vector of colours based on a character vector

Usage

create_fill_palette(fill_vec)

Arguments

fill_vec

factor the column to based the colour palette on

Value

character named vector of colours for each level of the input vector

Examples


create_fill_palette(counts_for_gene$treatment)


richysix/rnaseqVis documentation built on Feb. 12, 2024, 1:37 p.m.