experiment.colors: Decide color for libraries by grouping

View source: R/experiment_plots.R

experiment.colorsR Documentation

Decide color for libraries by grouping

Description

Pick the grouping wanted for colors, by default only group by libtype. Like RNA-seq(skyblue4) and Ribo-seq(orange).

Usage

experiment.colors(
  df,
  color_list = "default",
  skip.libtype = FALSE,
  skip.stage = TRUE,
  skip.replicate = TRUE,
  skip.fraction = TRUE,
  skip.condition = TRUE
)

Arguments

df

an ORFik experiment

color_list

a character vector of colors, default "default". That is the vector c("skyblue4", 'orange', "green", "red", "gray", "yellow", "blue", "red2", "orange3"). Picks number of colors needed to make groupings have unique color

skip.libtype

a logical (FALSE), don't include libtype

skip.stage

a logical (FALSE), don't include stage in variable name.

skip.replicate

a logical (FALSE), don't include replicate in variable name.

skip.fraction

a logical (FALSE), don't include fraction

skip.condition

a logical (FALSE), don't include condition in variable name.

Value

a character vector of colors


JokingHero/ORFik documentation built on Dec. 21, 2024, 12:01 a.m.