experiment.colors {ORFik} | R 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), if TRUE don't include libtype
`skip.stage` | a logical (FALSE), if TRUE don't include stage in variable name.
`skip.replicate` | a logical (FALSE), if TRUE don't include replicate in variable name.
`skip.fraction` | a logical (FALSE), if TRUE don't include fraction
`skip.condition` | a logical (FALSE), if TRUE don't include condition in variable name.

### Value

a character vector of colors

[Package ORFik version 1.14.7 Index]