plotDepmatrix {DepLogo} | R Documentation |
Plots a matrix representation of dependency values
Description
Plots a representation of dependency values as a triangular matrix rotated by
45 degrees. Internally, dependency values are computed using getDeps
on the data
object.
Usage
plotDepmatrix(
data,
axis.at.bottom = TRUE,
add.legend = TRUE,
show.pvals = FALSE,
axis.labels = NULL,
threshold = 0.1
)
Arguments
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 |
ignored |
Author(s)
Jan Grau <grau@informatik.uni-halle.de>
Examples
# 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
plotDepmatrix(data)
# plot with axis at top, without a legend (color scale), and using p-values
plotDepmatrix(data, axis.at.bottom = FALSE, add.legend = FALSE, show.pvals = TRUE)
[Package DepLogo version 1.2.1 Index]