Description Usage Arguments Value Author(s) See Also Examples
Replaces colors in DLData object
1 |
data |
the data |
colors |
the new colors |
the modified DLData object
Jan Grau <grau@informatik.uni-halle.de>
replaceColors
1 2 3 4 5 6 | # read data and create DLData object
seqs <- read.table(system.file("extdata", "cjun.txt", package = "DepLogo"),
stringsAsFactors = FALSE)
data <- DLData(sequences = seqs[, 1], weights = log1p(seqs[, 2]) )
replaceColors(data, c("red", "green", "blue", "yellow"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.