Description Usage Arguments Value Author(s) Examples
This function is a low-level plotting function (using image with add=TRUE
, internally).
1 | colorchart(part, yoff, ic.scale = TRUE)
|
part |
the set of sequences as DLData object |
yoff |
the offset in y-direction within the current plot |
ic.scale |
ignored for colorcharts |
the vertical (y) offset after this plot
Jan Grau <grau@informatik.uni-halle.de>
1 2 3 4 5 6 7 8 9 10 11 | # 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]) )
# create high-level plot
plot(NULL, xlim = c(1, ncol(data$data) - 1), ylim = c(0, nrow(data$data)),
ylab = nrow(data$data), axes = FALSE)
# and add colorchart and axis
colorchart(data, yoff = nrow(data$data))
axis(1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.