plotDVI {dvir} | R Documentation |
Plot a DVI problem
Description
Plot a DVI problem
Usage
plotDVI(
dvi,
pm = TRUE,
am = TRUE,
hatched = typedMembers,
col = list(red = dvi$missing),
frames = TRUE,
titles = c("PM", "AM"),
widths = NULL,
nrowPM = NA,
dev.height = NULL,
dev.width = NULL,
newdev = !is.null(c(dev.height, dev.width)),
...
)
Arguments
dvi |
A |
pm |
Either a logical indicating if the PM data should be plotted (as a set of singletons), or a vector of indices selecting a subset of the PM samples. Default: TRUE. |
am |
Either a logical indicating if the AM families data should be plotted, or a vector of indices selecting a subset of the families. Default: TRUE. |
hatched |
A character vector of ID labels, or the name of a function. By default, typed individuals are hatched. |
col |
A list of colour vectors (see |
frames |
A logical, by default TRUE. |
titles |
A character of length 2. |
widths |
A numeric with relative plot widths. |
nrowPM |
The number of rows in the array of PM singletons. |
dev.height , dev.width |
Plot height and widths in inches. These are
optional, and only relevant if |
newdev |
A logical indicating if a new plot window should be opened. |
... |
Further parameters to be passed on to |
Examples
plotDVI(example2)
# Override default layout of PM singletons
plotDVI(example2, nrowPM = 3)
# Subset
plotDVI(example2, pm = 1:2, am = 1, titles = c("PM (1-2)", "AM (1)"))
# AM only
plotDVI(example2, pm = FALSE, titles = "AM families")
# Further options
# plotDVI(example2, new = T, frames = FALSE, marker = 1, cex = 1.2, nrowPM = 1)