| pdfPQ | R Documentation |
Generate a self-contained PDF report documenting a Performance Qualification (PQ)
of noncompartmental analysis for the user's own data and intended workflow. Whereas
pdfOQ compares the engine to fixed reference values, PQ runs the
analysis the user actually intends to run, on the user's (or representative) data,
and checks that the result is reproducible, scientifically plausible, and
(optionally) matches the user's pre-specified expected values, with a documented,
signed record including a fingerprint (md5) of the input data. The report uses the
package's own pdf helpers (no LaTeX) and the signature/approval page is placed first.
pdfPQ(fileName = "ncar-PQ-Report.pdf", concData, key = "Subject",
colTime = "Time", colConc = "conc", ..., expected = NULL,
acceptance = NULL, performedBy = "", paper = "auto", sigField = FALSE)
fileName |
file name to save the PDF report. |
concData |
the user's concentration data set (data frame) to qualify. |
key |
column name(s) identifying each profile. |
colTime |
column name for time. |
colConc |
column name for concentration. |
... |
further arguments passed to |
expected |
optional data frame of the user's pre-specified expected parameter
values (a |
acceptance |
a list of PQ acceptance criteria; if |
performedBy |
name of the person performing the qualification, printed on the signature page. Defaults to the login name. |
paper |
paper size: |
sigField |
if |
The report contains: the intended-use inputs and the input-data md5 fingerprint; the
PQ acceptance criteria; a reproducibility check (the analysis is re-run on the same
data and must reproduce identical results); per-profile performance/plausibility
checks (Cmax > 0, Cmax >= Clast, Tmax within the observed time range, AUClast > 0,
and for profiles with a terminal slope: AUCINF_obs >= AUClast, AUC %Extrap within
limit, adjusted R-squared above limit, half-life positive and finite); an optional
comparison to user-supplied expected values; an overall QUALIFIED / NOT QUALIFIED
verdict; and a sessionInfo appendix.
PQ acceptance criteria and the choice of representative data are the user's responsibility; this function provides the tool and configurable defaults.
Invisibly, a list with fileName, qualified, paper,
results (the tblNCA table), reproducible, profiles
(per-profile checks), fingerprint, nProfFail, nNonEval, and
expected. A PDF is written to fileName.
Kyun-Seop Bae <k@acr.kr>
pdfIQ, pdfOQ, tblNCA
#Theoph2 <- as.data.frame(Theoph); Theoph2$Subject <- as.numeric(as.character(Theoph2$Subject))
#pdfPQ("MyStudy-PQ.pdf", Theoph2, "Subject", "Time", "conc", dose = 320,
# concUnit = "mg/L", performedBy = "Kyun-Seop Bae", sigField = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.