subLines

0th

Percentile

Plot weights as lines

Plots a representation of the weights of a list of DLData objects. Each entry of the list is shown as an independent line with the median value shown as a red vertical line. Plots of list entries are separated by horizontal grey lines.

Usage
subLines(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 xlim value of the call to plot)

axis.above

if TRUE, an axis at the top of the plot (side=3) is shown

axis.below

if TRUE, an axis at the bottom of the plot (side=1) is shown

Aliases
  • subLines
Examples
# NOT RUN {
# 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 = subLines)
# }
Documentation reproduced from package DepLogo, version 1.0, License: GPL-3

Community examples

Looks like there are no examples yet.