plotDeparcs | R Documentation |
Plots a representation of dependency values as arcs between the sequence
positions. Internally, dependency values are computed using getDeps on
the data
object.
plotDeparcs(
data,
axis.at.bottom = TRUE,
add.legend = TRUE,
show.pvals = FALSE,
axis.labels = NULL,
threshold = 0.1
)
data |
the DLData object containing the data |
axis.at.bottom |
if |
add.legend |
if |
show.pvals |
if |
axis.labels |
the labels of the x-axis |
threshold |
threshold in mutual information values, edges below this value are not shown; ignored in |
Jan Grau <grau@informatik.uni-halle.de>
# 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 using default parameters
plotDeparcs(data)
# plot with axis at top, without a legend (color scale), and using p-values
plotDeparcs(data, axis.at.bottom = FALSE, add.legend = FALSE, show.pvals = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.