Description Usage Arguments Value Author(s) See Also Examples
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.
1 2 3 4 |
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
,
inputFilesType
, inputFiles
,
sampleLabels
1 2 3 4 5 6 7 8 9 10 11 | sampleLabels(exampleCAGEset)
setColors(exampleCAGEset, colors = c("darkred", "navy", "forestgreen"))
sampleLabels(exampleCAGEset)
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.