experiment.colors: Decide color for libraries by grouping

Description Usage Arguments Value

View source: R/experiment_plots.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
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


ORFik documentation built on March 27, 2021, 6 p.m.