setColors | R Documentation |
Assigns one color to each sample in the CAGEr object. These colors are used in various plots and exported tracks to consistently represent corresponding samples.
setColors(object, colors = NULL)
## S4 method for signature 'CAGEr'
setColors(object, colors = NULL)
object |
A |
colors |
A character vector of one valid R color specification per
sample (see |
Assigns one color to each sample in the CAGEr object and modifies it in place.
Vanja Haberle
Other CAGEr setter methods:
genomeName()
,
inputFiles()
,
inputFilesType()
,
sampleLabels()
sampleLabels(exampleCAGEexp)
setColors(exampleCAGEexp, 5)
sampleLabels(exampleCAGEexp)
setColors(exampleCAGEexp, c("#ff0000ff", "#CCFF00", "blue", "grey", 1))
sampleLabels(exampleCAGEexp)
setColors(exampleCAGEexp, c("red", "darkgreen", "blue", "grey", "black"))
sampleLabels(exampleCAGEexp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.