-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path6_quick_guide_Xpose_graphics_body.tex
More file actions
executable file
·74 lines (71 loc) · 3.41 KB
/
Copy path6_quick_guide_Xpose_graphics_body.tex
File metadata and controls
executable file
·74 lines (71 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
\begin{center}
{\colorbox{grey2}{
\begin{minipage}[t]{0.9\textwidth}
\subsubsection*{Scope}
This Pirana Quick Guide explains how to use Pirana to generate
diagnostic graphs using Xpose. Please note that a separate Quick Guide
describes how to create VPCs in PsN / Xpose.
\end{minipage}
}
}
\end{center}
\subsubsection*{Generating appropriate NONMEM output tables for Xpose}
\begin{itemize}
\item Before Xpose diagnostic graphics can be generated, the model
first needs to be executed while generating output tables in a
specific format and naming.
\item Briefly, for a controlstream named run10.mod, output tables such
as sdtab10 (observations/predictions), patab10 (parameters), cotab10
(continuous covariates), and catab10 (categorical covariates) should
be generated, with the NOPRINT and ONEHEADER options.
\item For more information on how to generate Xpose-ready \$TABLE
output files, please refer to
\href{'http://xpose.sourceforge.net/manual.pdf''}{the Xpose manual}.
\end{itemize}
\subsubsection*{Generating Xpose graphs using the integrated Pirana menu}
\begin{itemize}
\item Select the preferred run and select Xpose from the right
mouse-button menu, and subsequently 'Run Xpose commands' (Figure
\ref{fig:Fig1}).
\begin{figure}[h] \centering
\includegraphics[scale=.32]{images/xpose_1.JPG}
\caption{Selecting a run and executing the Rub Xpose commands winow\label{fig:Fig1}}
\end{figure}
\item In the dialog window that is opened, different Xpose graphs may
be selected and defined (Figure \ref{fig:Fig2}).
\begin{figure}[h] \centering
\includegraphics[scale=.45]{images/xpose_2.jpg}
\caption{Run Xpose commands window\label{fig:Fig2}}
\end{figure}
\item From the \emph{Commands menu} (red square), \emph{multiple}
Xpose plots may be added to the included list of Xpose plots.
\item Additional \emph{Arguments} may be specified for each Xpose
command. A reference to possible arguments is provided under the
\emph{\Large{?}} sign.
\item Several options are available for the output format of the
\emph{Plots}. The easiest option is to automatically generate the
graph and save as PDF (default) or PNG file.
\item If multiple Xpose graphs are selected, these will be appended in
the output file (except PNG).
\item Alternative output formats of the plots are to generate the
R-code only, or to to generate Sweave code for LaTeX documents.
\item If all settings have been configured, the plot(s) may be
generated by pressing the execute button (\emph{\Large{$>$}}).
\item If output was directed to a PDF file, the PDF will be opened automatically
once it is generated (Figure \label{fig:Fig3}).
\begin{figure}[h] \centering
\includegraphics[scale=.4]{images/xpose_3.jpg}
\caption{Xpose graphs in output PDF file\label{fig:Fig3}}
\end{figure}
\item Lists of commands can be saved and loaded from this dialog as
well. This can be useful e.g. for standardized report generation.
\end{itemize}
\subsubsection*{Generating Xpose graphs using the conventional menu in R}
\begin{itemize}
\item Alternatively, it is possible to automatically open the
text-based Xpose menu in R from within Pirana.
\item Select the preferred run and select Xpose from the right
mouse-button menu, and subsequently ' Start Xpose menu' (Figure 1).
\item The Xpose menu will now be started in R and the associated table
files will be loaded into Xpose, from where graphs may be generated.
\end{itemize}