Description Usage Arguments Author(s) See Also Examples
Plots the blocks of data in data
by successive, vertically arranged sub-plots of the function provided as block.fun
.
If data
is a single DLData object, one block is plotted. Further arguments are provided to block.fun
.
1 2 3 4 5 6 7 8 |
data |
the data, a single DLData object or a list of |
show.number |
if |
block.fun |
the function called for each of the blocks |
ic.scale |
if |
add |
if |
... |
if |
Jan Grau <grau@informatik.uni-halle.de>
deprects
logo
colorchart
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # 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]) )
# plot all data
plotBlocks(data)
# partition data
partitions <- partition(data, threshold = 0.3)
# and plot partitions
plotBlocks(partitions)
# or plot partitions as sequence logos
plotBlocks(partitions, block.fun = logo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.