subBoxes {DepLogo} | R Documentation |
Plots weights as boxplots
Description
Plots a representation of the weights of a list of DLData objects. Each entry of the list is shown as an independent boxplot.
Usage
subBoxes(sub.parts, range, axis.above = TRUE, axis.below = TRUE)
Arguments
sub.parts |
a list of DLData objects |
range |
the range of values shown in the plot (i.e., the |
axis.above |
if |
axis.below |
if |
Author(s)
Jan Grau <grau@informatik.uni-halle.de>
Examples
# read data and create DLData object
seqs <- read.table(system.file("extdata", "nrsf.txt", package = "DepLogo"),
stringsAsFactors = FALSE)
data <- DLData(sequences = seqs[, 1], weights = log1p(seqs[, 2]) )
# create dependency logo with plotted weights
plotDeplogo(data, threshold = 0.03, weight.fun = subBoxes)
[Package DepLogo version 1.2.1 Index]