create_shape_palette: Make a vector of numbers representing shapes based on a...

View source: R/countPlot.R

create_shape_paletteR Documentation

Make a vector of numbers representing shapes based on a character vector

Description

Make a vector of numbers representing shapes based on a character vector

Usage

create_shape_palette(shape_vec)

Arguments

shape_vec

factor the column to based the shape palette on

Value

integer vector of numbers that represent plotting shapes see https://ggplot2.tidyverse.org/reference/scale_shape.html

Examples


create_shape_palette(counts_for_gene$timepoint)

create_shape_palette(factor(letters[1:6]))


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