Producing tornado plots
Usage
plotTornado(
data = NULL,
metaData = NULL,
x = NULL,
y = NULL,
sorted = NULL,
colorPalette = NULL,
bar = TRUE,
dataMapping = NULL,
plotConfiguration = NULL,
plotObject = NULL
)
Arguments
- data
A data.frame to use for plot.
- metaData
A named list of information about
data
such as thedimension
andunit
of its variables.- x
Numeric values to plot along the
x
axis. Only used instead ofdata
ifdata
isNULL
.- y
Character values to plot along the
y
axis. Only used instead ofdata
ifdata
isNULL
.- sorted
Optional logical value defining if
y
values are sorted by absolute values ofx
.- colorPalette
Optional character values defining a
ggplot2
colorPalette (e.g."Spectral"
)- bar
Optional logical value setting tornado plot as bar plot instead of scatter plot.
- dataMapping
A
TornadoDataMapping
object mappingx
,y
and aesthetic groups to their variable names ofdata
.- plotConfiguration
An optional
TornadoPlotConfiguration
object defining labels, grid, background and watermark.- plotObject
An optional
ggplot
object on which to add the plot layer
See also
Other molecule plots:
plotBoxWhisker()
,
plotCumulativeTimeProfile()
,
plotDDIRatio()
,
plotGrid()
,
plotHistogram()
,
plotObsVsPred()
,
plotObservedTimeProfile()
,
plotPKRatio()
,
plotPieChart()
,
plotQQ()
,
plotResVsPred()
,
plotResVsTime()
,
plotSimulatedTimeProfile()
,
plotTimeProfile()