PERK-Walkthrough

Introduction

The aim of PERK is to predict and visualize concentrations of pharmaceuticals in the aqueous environment.

PERK acronym for Predicting Environmental concentration and RisK, is an R/Shiny application tool, aims to facilitate automated modelling and reporting of predicted environmental concentrations of a comprehensive set of pharmaceuticals derived from a wide range of therapeutic classes with different mode of action.

The tool helps users,

Data sources:

Prescription Data For England:

This tool uses the prescription data from PrAna, an R package to calculate and visualize England NHS prescribing data.

The data used in PrAna are as follows,

WWTP Data:

The following dataset are provided from WWTP collaborators,

API properties

Workflow {#sec-workflow}

knitr::opts_template$set(fullwidth = list(
  fig.width = 4, fig.height = 4, 
  fig.retina = 2, out.width = '50%', out.height = '50%'
))

The workflow in this tutorial consists of the following steps, as in the Figure 1.

knitr::include_graphics("img/perk_workflow-min.png")

PERK Features {#sec-features}

knitr::include_graphics("img/perk_features-min.png")

Upload Data {#sec-upload-data}

knitr::include_graphics("img/datainput-min.png")

| Part | Remarks | |------|---------------------------------------| | 1 | Analysis and Visualisation (AV) Panel | | 2 | Full screen | | 3 | Dark and Light mode | | 4 | Plot settings | | 5 | Data selection Area | | 6 | Upload File Button | | 7 | Download Template for the file | | 8 | User Logout |

: Table 1. Upload Data: Data Input

Predicted (PC) {#sec-predicted}

Predicted: Prescription {#sec-pred-presc}

knitr::include_graphics("img/predicted01-min.png")

| Part | Remarks | |------|------------------------------------------------------------| | 1 | Analysis and Visualisation (AV) Panel | | 2 | Full screen | | 3 | Dark and Light mode | | 4 | Plot settings | | 5 | Plot generated based on user selection | | 6 | Analysis and Visualisation settings (AVS) panel | | 7 | User log-out | | 8 | Download buttons to download the generated plot as .pdf or .eps and data as .csv format | | 9 | Show Datatable |

: Table 2. Predicted: Prescription Sub-Panel

knitr::include_graphics("img/prescplot01-1-min.png")
knitr::include_graphics("img/prescplot02-1-min.png")

Predicted: Predicted Concentration {#sec-pred-pec}

knitr::include_graphics("img/predicted02-min.png")

| Part | Remarks | |------------|------------------------------------------------------------| | 1 | Analysis and Visualisation (AV) Panel | | 2 | Full screen | | 3 | Dark and Light mode | | 4 | Plot settings | | 5 | Plot generated based on user selection | | 6 | Analysis and Visualisation settings (AVS) panel | | 7 | User log-out | | 8 | Download buttons to download the generated plot as .pdf or .eps and data as .csv format | | 9 | Show Data table |

: Table 3. Predicted: Predicted Concentrations Sub-Panel

::: {layout-ncol="2"}

knitr::include_graphics("img/predplot01-1-min.png")
knitr::include_graphics("img/predplot02-1-min.png")

:::

Measured (MC) {#sec-measured}

knitr::include_graphics("img/measured01-min.png")

| Part | Remarks | |------|------------------------------------| | 1 | Analysis and Visualisation (AV) Panel | | 2 | Full screen | | 3 | Dark and Light mode | | 4 | Plot settings | | 5 | Plot generated based on user selection | | 6 | Analysis and Visualisation settings (AVS) panel | | 7 | User log-out | | 8 | Download buttons to download the generated plot as .pdf or .eps and data as .csv format | | 9 | Show Datatable |

: Table 4. Measured Panel

::: {layout-ncol="2"}

knitr::include_graphics("img/mcplot01-1-min.png")
knitr::include_graphics("img/mcplot02-1-min.png")

:::

Predicted vs Measured {#sec-pcvsmc}

Predicted vs Measured: Predicted vs Measured {#sec-pcvsmc-pcvsmc}

knitr::include_graphics("img/pcvsmc01-min.png")

| Part | Remarks | |------|------------------------------------| | 1 | Analysis and Visualisation (AV) Panel | | 2 | Full screen | | 3 | Dark and Light mode | | 4 | Plot settings | | 5 | Plot generated based on user selection | | 6 | Analysis and Visualisation settings (AVS) panel | | 7 | User log-out | | 8 | Download buttons to download the generated plot as .pdf or .eps and data as .csv format | | 9 | Show Datatable |

: Table 5. Predicted vs Measured: Predicted vs Measured Sub-Panel

::: {layout-ncol="2"}

knitr::include_graphics("img/pcvsmcplot01-1-min.png")
knitr::include_graphics("img/pcvsmcplot02-1-min.png")

:::

Predicted vs Measured: Prediction Accuracy {#sec-pcvsmc-pa}

knitr::include_graphics("img/pcvsmc02-min.png")

| Part | Remarks | |------|------------------------------------| | 1 | Analysis and Visualisation (AV) Panel | | 2 | Full screen | | 3 | Dark and Light mode | | 4 | Plot settings | | 5 | Plot generated based on user selection | | 6 | Analysis and Visualisation settings (AVS) panel | | 7 | User log-out | | 8 | Download buttons to download the generated plot as .pdf or .eps and data as .csv format | | 9 | Show Datatable |

: Table 6. Predicted vs Measured: Prediction Accuracy Sub-Panel

knitr::include_graphics("img/paplot01-1-min.png")

Acknowledgements {#acknowledgements}

This package was built as a part of the Wastewater Fingerprinting for Public Health Assessment (ENTRUST) and Innovative Pathway Control (IPC) project funded by Wessex Water and EPSRC IAA (grant no. EP/R51164X/1).

Disclaimer

We accept no liability for any errors in the data or its publication here: use this data at your own risk. You should not use this data to make individual prescribing decisions.



Try the PERK package in your browser

Any scripts or data that you put into this service are public.

PERK documentation built on Feb. 16, 2023, 10:15 p.m.