View source: R/experiment_plots.R
experiment.colors | R Documentation |
Pick the grouping wanted for colors, by default only group by libtype. Like RNA-seq(skyblue4) and Ribo-seq(orange).
experiment.colors(
df,
color_list = "default",
skip.libtype = FALSE,
skip.stage = TRUE,
skip.replicate = TRUE,
skip.fraction = TRUE,
skip.condition = TRUE
)
df |
an ORFik |
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. |
a character vector of colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.