-
New plots and their corresponding classes are now available :
plotQQ()
(#362)plotCumulativeTimeProfile()
(#363)plotObservedTimeProfile()
(#390)plotSimulatedTimeProfile()
(#391)
-
Time Profile plots handle dual axis plots (#392)
-
Histograms can use normalized y axis (#383, #3889)
-
New helpers for creating symmetric plots are available (#350)
- Minor ticks can be displayed
-
New helper functions and parameters to facilitate usage of plot functions (#301):
- Function
getLinesFromFoldDistance
tanslates fold distance values intolines
argument for dataMapping objects. - Functions
plotDDIRatio
,plotPKRatio
,plotObsVsPred
,plotResVsPred
andplotResVsTime
include optional parameters such asfoldDistance
,deltaGuest
orsmoother
.
- Function
-
New helper enumerated lists:
TagPosition
(tag position in a plot grid) (#293)HorizontalJustification
(horizontal justifications for plot annotation text) (#293)VerticalJustification
(vertical justifications for plot annotation text) (#293)PlotAnnotationTextSize
(default text sizes for plot annotations) (#293)TickLabelTransforms
(predefined tick labeling) (#304)
PlotGridConfiguration
class adds new fields to control the position of the individual plot tags and aesthetic properties of the tag text. (#293)
- New function
plotGrid()
to create a plot grid andPlotGridConfiguration
class to specify its properties (#164). - The default theme for all plots is the new
useMinimalTheme()
(#223). Font
andLabel
objects now accounts for propertiesalign
andfontFamily
(#234).
- Log scale plots use prettier ticks and ticklabels (#199)
- Creation of additional helper enums:
ExportFormats
,ExportUnits
,FontFaces
andAlignements
(#263) - Plots support transparency of ribbons, points and lines defined by field
alpha
(#227, #272)
- The concept of
Theme
objects was updated and themes can be loaded and saved through json files. - New plot,
plotTornado
, added to available plots - Update of
plotTimeProfile
splitting input data to pair data with observedData - Creation of two shiny apps:
runThemeMaker()
: create and saveTheme
objectsrunPlotMaker()
: import your data, create and edit their plot
- Creation of enum objects providing shortkeys for plot properties:
Shapes
,Linetypes
,Scaling
,LegendPositions
{tlf}
now encourages using{patchwork}
package to create a grid of plots instead of{gridExtra}
.
The tlf
library is an R package compatible with the ospsuite
package.
tlf
provides an environment to create standardized plots and tables out of output extracted from the ospsuite
.
The following release notes aim at presenting the features of the tlf
library alpha release and how to report feedback.
- New plots available:
- PK Ratio Plots: Users can plot PK Ratios associated with the predefined ratio limits through the function
plotPKRatio
. They can also get the measure of how many of these ratios were in the predefined ratio limits through the functiongetPKRatioMeasure
. - Users can plot time profiles through the function
plotTimeProfile
. - Histograms: Users can plot histograms through the function
plotHistogram
. - Box Whiskers: Users can plot box whiskers through the function
plotBoxWhisker
.
- PK Ratio Plots: Users can plot PK Ratios associated with the predefined ratio limits through the function
- Plot Configuration: Users can create and use standardized plots by setting their configuration using
Theme
andPlotConfiguration
. These configurations allows easy definitions of labels, background and axes properties.
Users can report feedback and bugs through Github forum and issues at: https://github.com/open-systems-pharmacology/tlf-library/issues