From 88841e5273db2174751eea14e46772fdd2296f5d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 9 Nov 2015 23:59:58 +0100 Subject: Updated the manual --- vignettes/gmkin_manual.R | 34 ++++ vignettes/gmkin_manual.Rmd | 338 ++++++++++++++++++------------------- vignettes/gmkin_manual.html | 183 ++++++++++---------- vignettes/gmkin_manual.pdf | Bin 0 -> 568853 bytes vignettes/img/arrangement.png | Bin 0 -> 136370 bytes vignettes/img/configuration.png | Bin 0 -> 66452 bytes vignettes/img/datagrid.png | Bin 17232 -> 0 bytes vignettes/img/dataset_Z.png | Bin 0 -> 81502 bytes vignettes/img/dataseteditor.png | Bin 35072 -> 0 bytes vignettes/img/datasetsnmodels.png | Bin 11472 -> 0 bytes vignettes/img/fitoptions.png | Bin 10500 -> 0 bytes vignettes/img/generatedatagrid.png | Bin 7467 -> 74037 bytes vignettes/img/gmkin_start.png | Bin 98460 -> 102926 bytes vignettes/img/import.png | Bin 0 -> 49396 bytes vignettes/img/long.png | Bin 6633 -> 7607 bytes vignettes/img/modeleditor.png | Bin 16063 -> 31335 bytes vignettes/img/new_project.png | Bin 0 -> 31691 bytes vignettes/img/plotoptions.png | Bin 40268 -> 17189 bytes vignettes/img/plottingnfitting.png | Bin 41762 -> 0 bytes vignettes/img/projects.png | Bin 8346 -> 0 bytes vignettes/img/projects_min.png | Bin 0 -> 12208 bytes vignettes/img/studies.png | Bin 9308 -> 0 bytes vignettes/img/successfulupload.png | Bin 33437 -> 84334 bytes vignettes/img/summary.png | Bin 24099 -> 24806 bytes vignettes/img/upload_dialogue.png | Bin 0 -> 19617 bytes vignettes/img/uploadarea.png | Bin 22247 -> 28560 bytes 26 files changed, 288 insertions(+), 267 deletions(-) create mode 100644 vignettes/gmkin_manual.R create mode 100644 vignettes/gmkin_manual.pdf create mode 100644 vignettes/img/arrangement.png create mode 100644 vignettes/img/configuration.png delete mode 100644 vignettes/img/datagrid.png create mode 100644 vignettes/img/dataset_Z.png delete mode 100644 vignettes/img/dataseteditor.png delete mode 100644 vignettes/img/datasetsnmodels.png delete mode 100644 vignettes/img/fitoptions.png create mode 100644 vignettes/img/import.png create mode 100644 vignettes/img/new_project.png delete mode 100644 vignettes/img/plottingnfitting.png delete mode 100644 vignettes/img/projects.png create mode 100644 vignettes/img/projects_min.png delete mode 100644 vignettes/img/studies.png create mode 100644 vignettes/img/upload_dialogue.png (limited to 'vignettes') diff --git a/vignettes/gmkin_manual.R b/vignettes/gmkin_manual.R new file mode 100644 index 0000000..0fd5ece --- /dev/null +++ b/vignettes/gmkin_manual.R @@ -0,0 +1,34 @@ +## ---- include = FALSE---------------------------------------------------- +library(knitr) +opts_chunk$set(tidy = FALSE, cache = FALSE) + +## ---- eval = FALSE------------------------------------------------------- +# library(gmkin) + +## ---- eval = FALSE------------------------------------------------------- +# gmkin() + +## ---- eval = FALSE------------------------------------------------------- +# write.table(schaefer07_complex_case, sep = ",", dec = ".", +# row.names = FALSE, quote = FALSE, +# file = "schaefer07.csv") + +## ---- eval = FALSE------------------------------------------------------- +# Model cost at call 1 : 15156.12 +# Model cost at call 3 : 15156.12 +# Model cost at call 7 : 14220.79 +# Model cost at call 8 : 14220.79 +# Model cost at call 11 : 14220.79 +# Model cost at call 12 : 3349.268 +# Model cost at call 15 : 3349.268 +# Model cost at call 17 : 788.6367 +# Model cost at call 18 : 788.6366 +# Model cost at call 22 : 374.0575 +# Model cost at call 23 : 374.0575 +# Model cost at call 27 : 371.2135 +# Model cost at call 28 : 371.2135 +# Model cost at call 32 : 371.2134 +# Model cost at call 36 : 371.2134 +# Model cost at call 37 : 371.2134 +# Optimisation by method Port successfully terminated. + diff --git a/vignettes/gmkin_manual.Rmd b/vignettes/gmkin_manual.Rmd index 7200b12..94fbac2 100644 --- a/vignettes/gmkin_manual.Rmd +++ b/vignettes/gmkin_manual.Rmd @@ -1,47 +1,51 @@ --- title: "Manual for gmkin" +author: "Johannes Ranke" +date: "`r Sys.Date()`" output: html_document: css: gmkin_manual.css toc: true + mathjax: null theme: united +vignette: > + %\VignetteIndexEntry{Manual for gmkin} + %\VignetteEngine{knitr::rmarkdown} + \usepackage[utf8]{inputenc} --- - ```{r, include = FALSE} library(knitr) -opts_chunk$set(tidy = FALSE, cache = TRUE) +opts_chunk$set(tidy = FALSE, cache = FALSE) ``` ## Introduction The R add-on package gmkin provides a browser based graphical interface for -performing kinetic evaluations of degradation data using the mkin package. +performing kinetic evaluations of degradation data using the +[mkin package](http://kinfit.r-forge.r-project.org/mkin_static). While the use of gmkin should be largely self-explanatory, this manual may serve as a functionality overview and reference. For system requirements and installation instructions, please refer to the -[gmkin homepage](http://kinfit.r-forge.r-project.org/gmkin_static) +[gmkin homepage](http://kinfit.r-forge.r-project.org/gmkin_static). ## Starting gmkin As gmkin is an R package, you need to start R and load the gmkin package before you can run gmkin. -This can be achieved by entering the command +The latter can be achieved by entering the command ```{r, eval = FALSE} library(gmkin) ``` into the R console. This will also load the packages that gmkin depends on, -most notably gWidgetsWWW2 and mkin. Loading the package only has to be done +most notably gWidgetsWWW2 and mkin. Loading the package only has to be done once after you have started R. Before you start gmkin, you should make sure that R is using the working directory that you would like to keep your gmkin project file(s) in. If you use -the standard R application on windows, you can change the working directory -from the File menu. +the standard R GUI application on windows, you can change the working directory +from the File menu ('File' -> 'Change dir...'). Once you are sure that the working directory is what you want it to be, gmkin can be started by entering the R command @@ -53,108 +57,100 @@ gmkin() This will cause the default browser to start up or, if it is already running, to pop up and open a new tab for displaying the gmkin user interface. -In the R console, you should see some messages, telling you if the local R help -server, which also serves the gmkin application, has been started, which port it is -using and that it is starting an app called gmkin. - -Finally, it should give a message like - -```{r, eval = FALSE} -Model cost at call 1: 2388.077 -``` - -which means that the first kinetic evaluation has been configured for fitting. +In the R console, you should see a message that the httpd help server is started, if it wasn't +already started before. In the browser, you should see something like the screenshot below. -![gmkin start](img/gmkin_start.png) +![Screenshot of the newly started gmkin GUI](img/gmkin_start.png) The statusbar at the bottom of the gmkin window shows, among others, the working directory that gmkin uses. -Note that the project file management area described below can be minimized by clicking on -the arrows on the right hand side of its title bar. This may be helpful if the vertical -size of your browser window is restricted. +If the browser only shows "Loading ExtJS..." and nothing else happens for about 10 to 15 seconds, +please enter the `gmkin()` command again in the R console. If this still does not bring up the +gmkin GUI, please close the browser and try again. -## Project file management +## Three column layout -At startup, gmkin loads a project called "FOCUS\_2006\_gmkin" which is distributed -with the gmkin package. A gmkin project contains datasets, kinetic models for -fitting, and so-called fits, i.e. the results of fitting models to data. These -gmkin projects can be saved and restored using the project file management area in the -top left. +Since version 0.6.1, gmkin adheres to a three column layout. To the left, there are explorer +areas for the available projects, datasets, kinetic models and the completed fits. -![projects](img/projects.png) +In the central, tabbed area, the projects, datasets, models and fits are defined. The area +to the right is mainly for showing information intended to support the user, and results. +However, it also contains a tab 'Data' for editing kinetic data. -If you would like to save these items for reference or for the purpose of continuing -your work at a later time, you can modify the project name and press the button below it. -The full name of the project file created and the working directory will be displayed -in the gmkin status bar. +## Project file management -For restoring a previously saved project file, use the Browse button to locate -it, and the "Upload" button to load its contents into gmkin. +At startup, the project explorer to the left shows the two project workspaces 'FOCUS_2006' and +'FOCUS_2006_Z' delivered with the package. The project manangement area in the +center gives the possibility to save these projects under a new name, or to +start a new, empty project. -## Studies +A gmkin project workspace contains datasets, kinetic models for fitting, and +so-called fits, i.e. the results of fitting models to data. The project area also shows the current +working directory, where project workspace files are saved using the file extension `.gmkinws`. -The "Studies" area directly below the "Project file management" area can be expanded by clicking -on the arrows on the right hand side of its title bar. Studies in gmkin are -simply a numbered list of sources for the datasets in a project. You can edit the titles -directly by clicking on them. If you would like to add a new data source, use the "Add" -button above the table containing the list. If there are more than one studies in the list, -you can also remove them using the "Remove" button. +Once a project has been saved by the user, the project explorer to the left will show it in the +project list. -![studies](img/studies.png) +![Screenshot of saving a new project](img/new_project.png) -Note that the user is responsible to keep the study list consistent with the numbers that are -used in the list of datasets described below. +The current state of a project should repeatedly be saved during the work in order to avoid +loosing data. This can be achieved by selecting the 'Project' tab in the center and pressing +the 'Save project to project file' button. More conveniently, the keyboard shortcut Ctrl-X +can be used to save the current status of the project. -## Datasets and Models -The project loaded at the start of gmkin contains two datasets and four kinetic models. These -are listed to the left under the heading "Datasets and Models", together with a button for -setting up fits as shown below. +In the project file management area, datasets and models can be imported from +one of the projects in the project list, once it has been selected in the +droplist labelled 'Import from:'. -![datasets and models](img/datasetsnmodels.png) +![Screenshot of importing datasets and models](img/import.png) -For editing, adding or removing datasets or models, you need to double-click on an -entry in the respective list. +Once the project has been set up, you may want to minimize the project explorer, especially +if you are limited in vertical screen space. -For setting up a fit of a specific model to a specific dataset, the model and -the dataset should be selected by clicking on them. If they are compatible, clicking -the button "Configure fit for selected dataset and model" will set up the fit and -open the "Plotting and Fitting" tab to the right. +![Screenshot of minimized project explorer](img/projects_min.png) ## Dataset editor -The dataset editor allows for editing datasets, entering new datasets, uploading -data from text files and deleting datasets. +When you select one of the datasets in the dataset explorer to the left, some +summary information about the dataset is shown in the center, and the data itself +is loaded into the data editor to the right. -![dataset editor](img/dataseteditor.png) +![Screenshot of the GUI after loading a dataset](img/dataset_Z.png) -If you want to create (enter or load) a new dataset, it is wise to first edit -the list of data sources in the "Studies" area as described above. +When you have added information about the units, or edited the data to the right, you should hit +the button 'Keep changes'. This will add a new entry in the dataset explorer. -### Entering data directly +In the dataset editor to the right, you can override original data (for example in order to +follow FOCUS recommendations for time zero samples or values below the limit of detection) +by entering numbers in the override column. -For entering new data manually, click on "New dataset", enter a title and select -the study from which the dataset is taken. At this stage, you may already want -to press "Keep changes", so the dataset appears in the list of datasets. +When saving a dataset, the sampling times, the number of replicates and the list of observed +variables will be computed from the current data in the data editor. -In order to generate a table suitable for entering the data, enter a comma separated -list of sampling times, optionally the time unit, and the number of replicate measurements -at each sampling time. Also, add a comma separated list of short names of the -relevant compounds in your dataset. A unit can be specified for the observed -values. An example of filling out the respective fields is shown below. +However, entering data in these fields is a prerequisite for entering a new dataset directly +in the dataset editor. -![generate data grid](img/generatedatagrid.png) +### Entering data directly -Once everyting is filled out to your satisfaction, press the button "Generate empty grid -for kinetic data". In our example, this would result in the data grid shown below. You -can enter the observed data into the value column, as shown in the screenshot below. +For entering new data manually, there are two possibilities. You can either +change the Dataset title of the current dataset and edit the data in the Data +editor to the right. Or, if the new data should have a different structure, e.g. +different sampling times, observed variables and replicates, click on "New +dataset", edit the dataset title, sampling times, number of replicates and the list of +observed variables, and press the button 'Generate grid for entering kinetic data', in +order to prepare the Data editor to the right. -![data grid](img/datagrid.png) +For sampling times and short names of the relevant compounds, a comma separated +list must be entered, with a space after each comma. An example of filling out +the respective fields is shown below. -The column with title override serves to override data points from the original -datasets, without loosing the information which value was originally reported. +![Screenshot of generating a data grid](img/generatedatagrid.png) + +After that, the actual measurements can be entered into the Data editor to the right, in the +column 'value'. If everything is OK, press "Keep changes" to save the dataset in the current workspace. Note that you need to save the project file (see above) in order to @@ -178,11 +174,14 @@ write.table(schaefer07_complex_case, sep = ",", dec = ".", This produces a text file with comma separated values in the current working directory of R. -Loading this text file into gmkin using the "Browse" and "Upload" buttons results in -an import configuration area like this, with the uploaded text file displayed to the left, -and the import options to the right. +Loading this text file into gmkin using the "Browse" and "Upload" buttons + +![Screenshot of the browse and upload dialogue](img/upload_dialogue.png) -![upload area](img/uploadarea.png) +results in an an import configuration area showing the top lines of the imported file, and +giving the possibility to chose the import options matching the file format. + +![Screenshot of the import configuration area](img/uploadarea.png) In the import configuration area, the following options can be specified. In the field "Comment lines", the number of lines in the beginning of the file that should be ignored @@ -206,29 +205,28 @@ columns containing the observed variables (default is "name"), the sampling time the relative errors (default is "err") can be adapted. The default settings appearing if the long format is selected are shown below. -![long](img/long.png) +![Screenshot of the default variable names for data in long format](img/long.png) In our example we have data in the wide format, and after adapting the "Separator" to a comma, we can press the button "Import using options specified -below", and the data should be imported. If successful, the data editor should -show the sampling times and the names of the observed variables, as well as the -imported data in a grid for further editing or specifying overrides. - -After editing the title of the dataset and selecting the correct study as -the source of the data, the dataset editor should look like shown below. +below", and the data should be imported. If successful, the dataset editor should +show the sampling times and the names of the observed variables, and the Data editor +should show the imported data in a grid for further editing or specifying +overrides. -![successful upload](img/successfulupload.png) +![Screenshot of a successful upload](img/successfulupload.png) -If everything is OK, press "Keep changes" to save the dataset in the current -workspace. Again, you need to save the project file in order to be able to use -the dataset that you created in a future gmkin session. +After adapting the dataset title and possibly the units, press +"Keep changes" to save the dataset in the current workspace. Again, you need to +save the project file in order to be able to use the dataset that you created +in a future gmkin session. ## Model editor -The following screenshot shows the model editor for the model number 4 in -the list of models that are in the initial workspace. +The following screenshot shows the model editor for the model 'Z.2a.ff' from +the project workspace 'FOCUS_2006_Z' provided with the gmkin package. -![model editor](img/modeleditor.png) +![Screenshot of the model editor](img/modeleditor.png) In the first line the name of the model can be edited. You can also specify "min" or "max" for minimum or maximum use of formation fractions. Maximum use of formation @@ -236,72 +234,47 @@ fractions means that the differential equations in the degradation model are for using formation fractions. When you specify "min", then formation fractions are only used for the parent compound when you use the FOMC, DFOP or the HS model for it. -Pressing "Copy model" keeps the model name, so you should change it for the newly generated copy. Pressing "Add observed variable" adds a line in the array of state variable specifications below. The observed variables to be added are usually transformation products (usually termed metabolites), but can also be the parent compound in a different compartment (e.g. "parent\_sediment"). -Only observed variable names that occur in previously defined datasets can be selected. For any observed -variable other than the first one, only the SFO or the SFORB model can be selected. For each -observed variables, a comma separated list of target variables can be specified. In addition, a pathway -to the sink compartment can be selected. If too many observed variables have been added, complete lines -can be removed from the model definition by pressing the button "Remove observed variable". +Only observed variable names that occur in previously defined datasets or +models can be selected. For any observed variable other than the first one, +only the SFO or the SFORB model can be selected. For each observed variables, a +comma separated list of target variables can be specified. In addition, a +pathway to the sink compartment can be selected. If too many observed variables +have been added, complete lines can be removed from the model definition by +pressing the button "Remove observed variable". If the model definition is supposedly correct, press "Keep changes" to make it possible to select it for fitting in the listing of models to the left. -## Plotting and fitting - -If the dataset(s) to be used in a project are created, and suitable kinetic models have been defined, -kinetic evaluations can be configured by selecting one dataset and one model in the lists to the left, -and the pressing the button "Configure fit for selected dataset and model" below these lists. - -This opens the "Plotting and fitting" tab area to the right, consisting of a graphical window -showing the data points in the selected dataset and the model, evaluated with the initial parameters -defined by calling `mkinfit` without defining starting parameters. The value of the objective function -to be minimized for these default parameters can be seen in the R console, e.g. as - -```{r, eval = FALSE} -Model cost at call 1: 15156.12 -``` +## Configuring the fit -for the example shown below, where the FOCUS example dataset D and the model SFO\_SFO were selected. +If a dataset and a kinetic model are selected, the button "Configure fit" below +in the Explorer window "Configuration" becomes active. Pressing it opens the "Configuration" +area in the center and loads the dataset into the Data editor to the right, for viewing only. -![plotting and fitting](img/plottingnfitting.png) +After pressing the button 'Plot unoptimised', the data and the kinetic model with default +starting parameters are plotted in the 'Plot' area to the right. -### Parameters - -In the right hand area, initially the tab with the parameter list is displayed. While -name and type of the parameters should not be edited, their initial values can be edited -by clicking on a row. Also, it can be specified if the parameters should be fixed -in the optimisation process. - -If the initial values for the parameters were changed, the resulting model solution -can be visually checked by pressing the button "Show initial". This will update the -plot of the model and the data using the specified initial parameter values. - -If a similar model with a partially overlapping model definition has already be fitted, -initial values for parameters with the same name in both models can also be retrieved -from previous fits by selecting the fit and pressing the button "Get initials -from". This facilitates stepwise fitting of more complex degradation pathways. - -After the model has been successfully fitted by pressing the "Run" button, the optimised -parameter values are added to the parameter table. +![Screenshot of the fit configuration area](img/configuration.png) ### Fit options The most important fit options of the `mkinfit` function can be set via the -"Fit option" tab shown below. If the "plot" checkbox is checked, an R graphics device -started via the R console shows the fitting progress, i.e. the change of the model -solution together with the data during the optimisation. - -![fit options](img/fitoptions.png) +controls in the fit configuration area shown above. If the "plot" checkbox is +checked (and on Windows, the R GUI is used for running gmkin), an R graphics +device started via the R console shows the fitting progress, i.e. the change of +the model solution together with the data during the optimisation. The "solution\_type" can either be "auto", which means that the most effective solution method is chosen for the model, in the order of "analytical" (for parent only degradation data), "eigen" (for differential equation models with only linear terms, i.e. without FOMC, DFOP or HS submodels) or "deSolve", which can handle all model definitions generated -by the `mkin` package. +by the `mkin` package. If a compiler (gcc, on Windows install the 'Rtools' software package), +then the "deSolve" solution method is alway chosen when there are more than one +variables in the model. The parameters "atol" and "rtol" are only effective if the solution type is "deSolve". They control the precision of the iterative numerical solution of the differential equation model. @@ -323,10 +296,11 @@ gives lower weight and vice versa. If "none" is chosen, observed values are not weighted. Please refer to the documentation of the `modFit` function from the `FME` package for the meaning of options "std" and "mean". -The options "reweight.method", "reweight.tol" and "reweight.max.iter" enable the use of -iteratively reweighted least squares fitting, if the reweighting method is set to "obs". Please -refer to the `mkinfit` [documentation](http://kinfit.r-forge.r-project.org/mkin_static/mkinfit.html) -for more details. +If the "IRLS" option is set to "obs", then we make use of iteratively +reweighted least squares fitting. Please refer to the `mkinfit` +[documentation](http://kinfit.r-forge.r-project.org/mkin_static/mkinfit.html) +for more details. IRLS fitting can be configured using the options +"reweight.tol" and "reweight.max.iter". The drop down box "method.modFit" makes it possible to choose between the optimisation algorithms "Port" (the default in mkin versions > 0.9-33, a local optimisation @@ -338,12 +312,43 @@ a convergence criterion). Finally, the maximum number of iterations for the optimisation can be adapted using the "maxit.modFit" field. +### Plot options + +In the right part of the fit configuration area, the file format can be chosen, +the legend can be turned off, and the observed variables for which the data and +the model fit should be plotted can be selected as shown below. + +![plot options](img/plotoptions.png) + +On systems running the Windows operating system, the windows metafile (wmf) format +can be additionally chosen. Changing the file format for plotting will also change +the extension of the proposed filename for saving the plot. + +### Parameters + +Below the fit control area, a table with the Starting parameter list is displayed. While +name and type of the parameters should not be edited, their initial values can be edited +by clicking on a row. Also, it can be specified if the parameters should be fixed +in the optimisation process. + +If the initial values for the parameters were changed, the resulting model solution +can be visually checked by pressing the button "Plot unoptimised". This will update the +plot of the model and the data using the specified initial parameter values. + +If a similar model with a partially overlapping model definition has already be fitted, +initial values for parameters with the same name in both models can also be retrieved +from previous fits by selecting the fit and pressing the button "Get starting parameters +from". This facilitates stepwise fitting of more complex degradation pathways. + +After the model has been successfully fitted by pressing the "Run fit" button, the optimised +parameter values are added to the parameter table. + ### Fitting the model In many cases the starting parameters and the fit options do not need to be modified -and the model fitting process can simply be started by pressing the "Run" button. +and the model fitting process can simply be started by pressing the "Run fit" button. In the R console, the progressive reduction in the model cost can be monitored and will -be displayed like this: +be displayed in the following way: ```{r, eval = FALSE} Model cost at call 1 : 15156.12 @@ -362,34 +367,29 @@ Model cost at call 28 : 371.2135 Model cost at call 32 : 371.2134 Model cost at call 36 : 371.2134 Model cost at call 37 : 371.2134 +Optimisation by method Port successfully terminated. ``` -If plotting of the fitting progress was selecte in the "Fit options" tab, a -new separate graphics window should either pop up, or a graphics window previously -started for this purpose will be reused. +If plotting of the fitting progress was selected, a new separate graphics +window should either pop up, or a graphics window previously started for this +purpose will be reused. + +If your screen size allows for it, you can arrange the R plotting window and the +R console in a way that you can see everything at the same time: + +![Screenshot of arrangement of plot window and console](img/arrangement.png) -### Summary +## Results and summary -Once a fit has successfully been performed by pressing the "Run" button, the summary -as displayed below can be accessed via the "Summary" tab. +Once a fit has successfully been completed, the most important results are shown in several +tables in the "Result" area a shown above. The detailed summary can be accessed below +these tables. ![summary](img/summary.png) The complete summary can be saved into a text file by specifying a suitable file name and pressing the button "Save summary". -### Plot options - -In the tab "Plot options", the file format can be chosen, the legend can be -turned off, and the observed variables for which the data and the model fit -should be plotted can be selected as shown below. - -![plot options](img/plotoptions.png) - -On systems running the Windows operating system, the windows metafile (wmf) format -can be additionally chosen. Chaning the file format for plotting will also change -the extension of the proposed filename for saving the plot. - ### Confidence interval plots Whenever a new fit has been configured or a run of a fit has been completed, the plotting diff --git a/vignettes/gmkin_manual.html b/vignettes/gmkin_manual.html index 8ae6ef8..3c4b63e 100644 --- a/vignettes/gmkin_manual.html +++ b/vignettes/gmkin_manual.html @@ -8,7 +8,9 @@ + + Manual for gmkin @@ -62,91 +64,84 @@ img {
-

Introduction

-

The R add-on package gmkin provides a browser based graphical interface for performing kinetic evaluations of degradation data using the mkin package. While the use of gmkin should be largely self-explanatory, this manual may serve as a functionality overview and reference.

-

For system requirements and installation instructions, please refer to the gmkin homepage

+

The R add-on package gmkin provides a browser based graphical interface for performing kinetic evaluations of degradation data using the mkin package. While the use of gmkin should be largely self-explanatory, this manual may serve as a functionality overview and reference.

+

For system requirements and installation instructions, please refer to the gmkin homepage.

Starting gmkin

-

As gmkin is an R package, you need to start R and load the gmkin package before you can run gmkin. This can be achieved by entering the command

+

As gmkin is an R package, you need to start R and load the gmkin package before you can run gmkin. The latter can be achieved by entering the command

library(gmkin)

into the R console. This will also load the packages that gmkin depends on, most notably gWidgetsWWW2 and mkin. Loading the package only has to be done once after you have started R.

-

Before you start gmkin, you should make sure that R is using the working directory that you would like to keep your gmkin project file(s) in. If you use the standard R application on windows, you can change the working directory from the File menu.

+

Before you start gmkin, you should make sure that R is using the working directory that you would like to keep your gmkin project file(s) in. If you use the standard R GUI application on windows, you can change the working directory from the File menu (‘File’ -> ‘Change dir…’).

Once you are sure that the working directory is what you want it to be, gmkin can be started by entering the R command

gmkin()

This will cause the default browser to start up or, if it is already running, to pop up and open a new tab for displaying the gmkin user interface.

-

In the R console, you should see some messages, telling you if the local R help server, which also serves the gmkin application, has been started, which port it is using and that it is starting an app called gmkin.

-

Finally, it should give a message like

-
Model cost at call 1: 2388.077
-

which means that the first kinetic evaluation has been configured for fitting.

+

In the R console, you should see a message that the httpd help server is started, if it wasn’t already started before.

In the browser, you should see something like the screenshot below.

-

gmkin start

+

Screenshot of the newly started gmkin GUI

The statusbar at the bottom of the gmkin window shows, among others, the working directory that gmkin uses.

-

Note that the project file management area described below can be minimized by clicking on the arrows on the right hand side of its title bar. This may be helpful if the vertical size of your browser window is restricted.

+

If the browser only shows “Loading ExtJS…” and nothing else happens for about 10 to 15 seconds, please enter the gmkin() command again in the R console. If this still does not bring up the gmkin GUI, please close the browser and try again.

+
+
+

Three column layout

+

Since version 0.6.1, gmkin adheres to a three column layout. To the left, there are explorer areas for the available projects, datasets, kinetic models and the completed fits.

+

In the central, tabbed area, the projects, datasets, models and fits are defined. The area to the right is mainly for showing information intended to support the user, and results. However, it also contains a tab ‘Data’ for editing kinetic data.

Project file management

-

At startup, gmkin loads a project called “FOCUS_2006_gmkin” which is distributed with the gmkin package. A gmkin project contains datasets, kinetic models for fitting, and so-called fits, i.e. the results of fitting models to data. These gmkin projects can be saved and restored using the project file management area in the top left.

-

projects

-

If you would like to save these items for reference or for the purpose of continuing your work at a later time, you can modify the project name and press the button below it. The full name of the project file created and the working directory will be displayed in the gmkin status bar.

-

For restoring a previously saved project file, use the Browse button to locate it, and the “Upload” button to load its contents into gmkin.

-
-
-

Studies

-

The “Studies” area directly below the “Project file management” area can be expanded by clicking on the arrows on the right hand side of its title bar. Studies in gmkin are simply a numbered list of sources for the datasets in a project. You can edit the titles directly by clicking on them. If you would like to add a new data source, use the “Add” button above the table containing the list. If there are more than one studies in the list, you can also remove them using the “Remove” button.

-

studies

-

Note that the user is responsible to keep the study list consistent with the numbers that are used in the list of datasets described below.

-
-
-

Datasets and Models

-

The project loaded at the start of gmkin contains two datasets and four kinetic models. These are listed to the left under the heading “Datasets and Models”, together with a button for setting up fits as shown below.

-

datasets and models

-

For editing, adding or removing datasets or models, you need to double-click on an entry in the respective list.

-

For setting up a fit of a specific model to a specific dataset, the model and the dataset should be selected by clicking on them. If they are compatible, clicking the button “Configure fit for selected dataset and model” will set up the fit and open the “Plotting and Fitting” tab to the right.

+

At startup, the project explorer to the left shows the two project workspaces ‘FOCUS_2006’ and ‘FOCUS_2006_Z’ delivered with the package. The project manangement area in the center gives the possibility to save these projects under a new name, or to start a new, empty project.

+

A gmkin project workspace contains datasets, kinetic models for fitting, and so-called fits, i.e. the results of fitting models to data. The project area also shows the current working directory, where project workspace files are saved using the file extension .gmkinws.

+

Once a project has been saved by the user, the project explorer to the left will show it in the project list.

+

Screenshot of saving a new project

+

The current state of a project should repeatedly be saved during the work in order to avoid loosing data. This can be achieved by selecting the ‘Project’ tab in the center and pressing the ‘Save project to project file’ button. More conveniently, the keyboard shortcut Ctrl-X can be used to save the current status of the project.

+

In the project file management area, datasets and models can be imported from one of the projects in the project list, once it has been selected in the droplist labelled ‘Import from:’.

+

Screenshot of importing datasets and models

+

Once the project has been set up, you may want to minimize the project explorer, especially if you are limited in vertical screen space.

+

Screenshot of minimized project explorer

Dataset editor

-

The dataset editor allows for editing datasets, entering new datasets, uploading data from text files and deleting datasets.

-

dataset editor

-

If you want to create (enter or load) a new dataset, it is wise to first edit the list of data sources in the “Studies” area as described above.

+

When you select one of the datasets in the dataset explorer to the left, some summary information about the dataset is shown in the center, and the data itself is loaded into the data editor to the right.

+

Screenshot of the GUI after loading a dataset

+

When you have added information about the units, or edited the data to the right, you should hit the button ‘Keep changes’. This will add a new entry in the dataset explorer.

+

In the dataset editor to the right, you can override original data (for example in order to follow FOCUS recommendations for time zero samples or values below the limit of detection) by entering numbers in the override column.

+

When saving a dataset, the sampling times, the number of replicates and the list of observed variables will be computed from the current data in the data editor.

+

However, entering data in these fields is a prerequisite for entering a new dataset directly in the dataset editor.

Entering data directly

-

For entering new data manually, click on “New dataset”, enter a title and select the study from which the dataset is taken. At this stage, you may already want to press “Keep changes”, so the dataset appears in the list of datasets.

-

In order to generate a table suitable for entering the data, enter a comma separated list of sampling times, optionally the time unit, and the number of replicate measurements at each sampling time. Also, add a comma separated list of short names of the relevant compounds in your dataset. A unit can be specified for the observed values. An example of filling out the respective fields is shown below.

-

generate data grid

-

Once everyting is filled out to your satisfaction, press the button “Generate empty grid for kinetic data”. In our example, this would result in the data grid shown below. You can enter the observed data into the value column, as shown in the screenshot below.

-

data grid

-

The column with title override serves to override data points from the original datasets, without loosing the information which value was originally reported.

+

For entering new data manually, there are two possibilities. You can either change the Dataset title of the current dataset and edit the data in the Data editor to the right. Or, if the new data should have a different structure, e.g. different sampling times, observed variables and replicates, click on “New dataset”, edit the dataset title, sampling times, number of replicates and the list of observed variables, and press the button ‘Generate grid for entering kinetic data’, in order to prepare the Data editor to the right.

+

For sampling times and short names of the relevant compounds, a comma separated list must be entered, with a space after each comma. An example of filling out the respective fields is shown below.

+

Screenshot of generating a data grid

+

After that, the actual measurements can be entered into the Data editor to the right, in the column ‘value’.

If everything is OK, press “Keep changes” to save the dataset in the current workspace. Note that you need to save the project file (see above) in order to be able to use the dataset that you created in a future gmkin session.

@@ -157,59 +152,63 @@ img { row.names = FALSE, quote = FALSE, file = "schaefer07.csv")

This produces a text file with comma separated values in the current working directory of R.

-

Loading this text file into gmkin using the “Browse” and “Upload” buttons results in an import configuration area like this, with the uploaded text file displayed to the left, and the import options to the right.

-

upload area

+

Loading this text file into gmkin using the “Browse” and “Upload” buttons

+

Screenshot of the browse and upload dialogue

+

results in an an import configuration area showing the top lines of the imported file, and giving the possibility to chose the import options matching the file format.

+

Screenshot of the import configuration area

In the import configuration area, the following options can be specified. In the field “Comment lines”, the number of lines in the beginning of the file that should be ignored can be specified.

The checkbox on the next line should be checked if the first line of the file contains the column names, i.e. the names of the observed variables when the data are in wide format.

As “Separator”, whitespace, semicolon or comma can be chosen. If whitespace is selected, files in which the values are separated by a fixed or varying number of whitespace characters should be read in correctly. As the tabulator counts as a whitespace character, this is also the option to choose for tabulator separated values.

As the “Decimal” separator, comma “,” or period “.” can be selected.

In the next line, it can be specified if the data are in wide or in long format. If in wide format, the only option left to specify is the title of the column containing the sampling times. If the data is in long format, the column headings specifying the columns containing the observed variables (default is “name”), the sampling times (default is “time”), the observed values (default is “value”) and, if present in the data, the relative errors (default is “err”) can be adapted. The default settings appearing if the long format is selected are shown below.

-

long

-

In our example we have data in the wide format, and after adapting the “Separator” to a comma, we can press the button “Import using options specified below”, and the data should be imported. If successful, the data editor should show the sampling times and the names of the observed variables, as well as the imported data in a grid for further editing or specifying overrides.

-

After editing the title of the dataset and selecting the correct study as the source of the data, the dataset editor should look like shown below.

-

successful upload

-

If everything is OK, press “Keep changes” to save the dataset in the current workspace. Again, you need to save the project file in order to be able to use the dataset that you created in a future gmkin session.

+

Screenshot of the default variable names for data in long format

+

In our example we have data in the wide format, and after adapting the “Separator” to a comma, we can press the button “Import using options specified below”, and the data should be imported. If successful, the dataset editor should show the sampling times and the names of the observed variables, and the Data editor should show the imported data in a grid for further editing or specifying overrides.

+

Screenshot of a successful upload

+

After adapting the dataset title and possibly the units, press “Keep changes” to save the dataset in the current workspace. Again, you need to save the project file in order to be able to use the dataset that you created in a future gmkin session.

Model editor

-

The following screenshot shows the model editor for the model number 4 in the list of models that are in the initial workspace.

-

model editor

+

The following screenshot shows the model editor for the model ‘Z.2a.ff’ from the project workspace ‘FOCUS_2006_Z’ provided with the gmkin package.

+

Screenshot of the model editor

In the first line the name of the model can be edited. You can also specify “min” or “max” for minimum or maximum use of formation fractions. Maximum use of formation fractions means that the differential equations in the degradation model are formulated using formation fractions. When you specify “min”, then formation fractions are only used for the parent compound when you use the FOMC, DFOP or the HS model for it.

-

Pressing “Copy model” keeps the model name, so you should change it for the newly generated copy. Pressing “Add observed variable” adds a line in the array of state variable specifications below. The observed variables to be added are usually transformation products (usually termed metabolites), but can also be the parent compound in a different compartment (e.g. “parent_sediment”).

-

Only observed variable names that occur in previously defined datasets can be selected. For any observed variable other than the first one, only the SFO or the SFORB model can be selected. For each observed variables, a comma separated list of target variables can be specified. In addition, a pathway to the sink compartment can be selected. If too many observed variables have been added, complete lines can be removed from the model definition by pressing the button “Remove observed variable”.

+

Pressing “Add observed variable” adds a line in the array of state variable specifications below. The observed variables to be added are usually transformation products (usually termed metabolites), but can also be the parent compound in a different compartment (e.g. “parent_sediment”).

+

Only observed variable names that occur in previously defined datasets or models can be selected. For any observed variable other than the first one, only the SFO or the SFORB model can be selected. For each observed variables, a comma separated list of target variables can be specified. In addition, a pathway to the sink compartment can be selected. If too many observed variables have been added, complete lines can be removed from the model definition by pressing the button “Remove observed variable”.

If the model definition is supposedly correct, press “Keep changes” to make it possible to select it for fitting in the listing of models to the left.

-
-

Plotting and fitting

-

If the dataset(s) to be used in a project are created, and suitable kinetic models have been defined, kinetic evaluations can be configured by selecting one dataset and one model in the lists to the left, and the pressing the button “Configure fit for selected dataset and model” below these lists.

-

This opens the “Plotting and fitting” tab area to the right, consisting of a graphical window showing the data points in the selected dataset and the model, evaluated with the initial parameters defined by calling mkinfit without defining starting parameters. The value of the objective function to be minimized for these default parameters can be seen in the R console, e.g. as

-
Model cost at call 1: 15156.12
-

for the example shown below, where the FOCUS example dataset D and the model SFO_SFO were selected.

-

plotting and fitting

-
-

Parameters

-

In the right hand area, initially the tab with the parameter list is displayed. While name and type of the parameters should not be edited, their initial values can be edited by clicking on a row. Also, it can be specified if the parameters should be fixed in the optimisation process.

-

If the initial values for the parameters were changed, the resulting model solution can be visually checked by pressing the button “Show initial”. This will update the plot of the model and the data using the specified initial parameter values.

-

If a similar model with a partially overlapping model definition has already be fitted, initial values for parameters with the same name in both models can also be retrieved from previous fits by selecting the fit and pressing the button “Get initials from”. This facilitates stepwise fitting of more complex degradation pathways.

-

After the model has been successfully fitted by pressing the “Run” button, the optimised parameter values are added to the parameter table.

-
+
+

Configuring the fit

+

If a dataset and a kinetic model are selected, the button “Configure fit” below in the Explorer window “Configuration” becomes active. Pressing it opens the “Configuration” area in the center and loads the dataset into the Data editor to the right, for viewing only.

+

After pressing the button ‘Plot unoptimised’, the data and the kinetic model with default starting parameters are plotted in the ‘Plot’ area to the right.

+

Screenshot of the fit configuration area

Fit options

-

The most important fit options of the mkinfit function can be set via the “Fit option” tab shown below. If the “plot” checkbox is checked, an R graphics device started via the R console shows the fitting progress, i.e. the change of the model solution together with the data during the optimisation.

-

fit options

-

The “solution_type” can either be “auto”, which means that the most effective solution method is chosen for the model, in the order of “analytical” (for parent only degradation data), “eigen” (for differential equation models with only linear terms, i.e. without FOMC, DFOP or HS submodels) or “deSolve”, which can handle all model definitions generated by the mkin package.

+

The most important fit options of the mkinfit function can be set via the controls in the fit configuration area shown above. If the “plot” checkbox is checked (and on Windows, the R GUI is used for running gmkin), an R graphics device started via the R console shows the fitting progress, i.e. the change of the model solution together with the data during the optimisation.

+

The “solution_type” can either be “auto”, which means that the most effective solution method is chosen for the model, in the order of “analytical” (for parent only degradation data), “eigen” (for differential equation models with only linear terms, i.e. without FOMC, DFOP or HS submodels) or “deSolve”, which can handle all model definitions generated by the mkin package. If a compiler (gcc, on Windows install the ‘Rtools’ software package), then the “deSolve” solution method is alway chosen when there are more than one variables in the model.

The parameters “atol” and “rtol” are only effective if the solution type is “deSolve”. They control the precision of the iterative numerical solution of the differential equation model.

The checkboxes “transform_rates” and “transform_fractions” control if the parameters are fitted as defined in the model, or if they are internally transformed during the fitting process in order to improve the estimation of standard errors and confidence intervals which are based on a linear approximation at the optimum found by the fitting algorithm.

If fitting with transformed fractions leads to a suboptimal fit, doing a first run without transforming fractions may help. A final run using the optimised parameters from the previous run as starting values (see comment on “Get initials from” above) can then be performed with transformed fractions.

The dropdown box “weight” specifies if and how the observed values should be weighted in the fitting process. If “manual” is chosen, the values in the “err” column of the dataset are used, which are set to unity by default. Setting these to higher values gives lower weight and vice versa. If “none” is chosen, observed values are not weighted. Please refer to the documentation of the modFit function from the FME package for the meaning of options “std” and “mean”.

-

The options “reweight.method”, “reweight.tol” and “reweight.max.iter” enable the use of iteratively reweighted least squares fitting, if the reweighting method is set to “obs”. Please refer to the mkinfit documentation for more details.

+

If the “IRLS” option is set to “obs”, then we make use of iteratively reweighted least squares fitting. Please refer to the mkinfit documentation for more details. IRLS fitting can be configured using the options “reweight.tol” and “reweight.max.iter”.

The drop down box “method.modFit” makes it possible to choose between the optimisation algorithms “Port” (the default in mkin versions > 0.9-33, a local optimisation algorithm using a model/trust region approach), “Marq” (the former default in mkin, a Levenberg-Marquardt variant from the R package minpack.lm), and “SANN” (the simulated annealing method - robust but inefficient and without a convergence criterion).

Finally, the maximum number of iterations for the optimisation can be adapted using the “maxit.modFit” field.

+
+

Plot options

+

In the right part of the fit configuration area, the file format can be chosen, the legend can be turned off, and the observed variables for which the data and the model fit should be plotted can be selected as shown below.

+

plot options

+

On systems running the Windows operating system, the windows metafile (wmf) format can be additionally chosen. Changing the file format for plotting will also change the extension of the proposed filename for saving the plot.

+
+
+

Parameters

+

Below the fit control area, a table with the Starting parameter list is displayed. While name and type of the parameters should not be edited, their initial values can be edited by clicking on a row. Also, it can be specified if the parameters should be fixed in the optimisation process.

+

If the initial values for the parameters were changed, the resulting model solution can be visually checked by pressing the button “Plot unoptimised”. This will update the plot of the model and the data using the specified initial parameter values.

+

If a similar model with a partially overlapping model definition has already be fitted, initial values for parameters with the same name in both models can also be retrieved from previous fits by selecting the fit and pressing the button “Get starting parameters from”. This facilitates stepwise fitting of more complex degradation pathways.

+

After the model has been successfully fitted by pressing the “Run fit” button, the optimised parameter values are added to the parameter table.

+

Fitting the model

-

In many cases the starting parameters and the fit options do not need to be modified and the model fitting process can simply be started by pressing the “Run” button. In the R console, the progressive reduction in the model cost can be monitored and will be displayed like this:

+

In many cases the starting parameters and the fit options do not need to be modified and the model fitting process can simply be started by pressing the “Run fit” button. In the R console, the progressive reduction in the model cost can be monitored and will be displayed in the following way:

Model cost at call  1 :  15156.12 
 Model cost at call  3 :  15156.12 
 Model cost at call  7 :  14220.79 
@@ -225,21 +224,18 @@ Model cost at call  27 :  371.2135
 Model cost at call  28 :  371.2135 
 Model cost at call  32 :  371.2134 
 Model cost at call  36 :  371.2134 
-Model cost at call  37 :  371.2134 
-

If plotting of the fitting progress was selecte in the “Fit options” tab, a new separate graphics window should either pop up, or a graphics window previously started for this purpose will be reused.

-
-
-

Summary

-

Once a fit has successfully been performed by pressing the “Run” button, the summary as displayed below can be accessed via the “Summary” tab.

-

summary

-

The complete summary can be saved into a text file by specifying a suitable file name and pressing the button “Save summary”.

+Model cost at call 37 : 371.2134 +Optimisation by method Port successfully terminated. +

If plotting of the fitting progress was selected, a new separate graphics window should either pop up, or a graphics window previously started for this purpose will be reused.

+

If your screen size allows for it, you can arrange the R plotting window and the R console in a way that you can see everything at the same time:

+

Screenshot of arrangement of plot window and console

-
-

Plot options

-

In the tab “Plot options”, the file format can be chosen, the legend can be turned off, and the observed variables for which the data and the model fit should be plotted can be selected as shown below.

-

plot options

-

On systems running the Windows operating system, the windows metafile (wmf) format can be additionally chosen. Chaning the file format for plotting will also change the extension of the proposed filename for saving the plot.

+
+

Results and summary

+

Once a fit has successfully been completed, the most important results are shown in several tables in the “Result” area a shown above. The detailed summary can be accessed below these tables.

+

summary

+

The complete summary can be saved into a text file by specifying a suitable file name and pressing the button “Save summary”.

Confidence interval plots

Whenever a new fit has been configured or a run of a fit has been completed, the plotting area is updated with the abovementioned plot of the data and the current model solution.

@@ -261,15 +257,6 @@ $(document).ready(function () { - - diff --git a/vignettes/gmkin_manual.pdf b/vignettes/gmkin_manual.pdf new file mode 100644 index 0000000..b7809c5 Binary files /dev/null and b/vignettes/gmkin_manual.pdf differ diff --git a/vignettes/img/arrangement.png b/vignettes/img/arrangement.png new file mode 100644 index 0000000..7227a22 Binary files /dev/null and b/vignettes/img/arrangement.png differ diff --git a/vignettes/img/configuration.png b/vignettes/img/configuration.png new file mode 100644 index 0000000..80d01eb Binary files /dev/null and b/vignettes/img/configuration.png differ diff --git a/vignettes/img/datagrid.png b/vignettes/img/datagrid.png deleted file mode 100644 index b44ce27..0000000 Binary files a/vignettes/img/datagrid.png and /dev/null differ diff --git a/vignettes/img/dataset_Z.png b/vignettes/img/dataset_Z.png new file mode 100644 index 0000000..7162b76 Binary files /dev/null and b/vignettes/img/dataset_Z.png differ diff --git a/vignettes/img/dataseteditor.png b/vignettes/img/dataseteditor.png deleted file mode 100644 index 1c51374..0000000 Binary files a/vignettes/img/dataseteditor.png and /dev/null differ diff --git a/vignettes/img/datasetsnmodels.png b/vignettes/img/datasetsnmodels.png deleted file mode 100644 index 411424a..0000000 Binary files a/vignettes/img/datasetsnmodels.png and /dev/null differ diff --git a/vignettes/img/fitoptions.png b/vignettes/img/fitoptions.png deleted file mode 100644 index 0a76040..0000000 Binary files a/vignettes/img/fitoptions.png and /dev/null differ diff --git a/vignettes/img/generatedatagrid.png b/vignettes/img/generatedatagrid.png index 04d29c4..ac547e1 100644 Binary files a/vignettes/img/generatedatagrid.png and b/vignettes/img/generatedatagrid.png differ diff --git a/vignettes/img/gmkin_start.png b/vignettes/img/gmkin_start.png index c33af1a..f15a798 100644 Binary files a/vignettes/img/gmkin_start.png and b/vignettes/img/gmkin_start.png differ diff --git a/vignettes/img/import.png b/vignettes/img/import.png new file mode 100644 index 0000000..ec884e8 Binary files /dev/null and b/vignettes/img/import.png differ diff --git a/vignettes/img/long.png b/vignettes/img/long.png index 0a13a9a..fc317d1 100644 Binary files a/vignettes/img/long.png and b/vignettes/img/long.png differ diff --git a/vignettes/img/modeleditor.png b/vignettes/img/modeleditor.png index d5d9941..a06d733 100644 Binary files a/vignettes/img/modeleditor.png and b/vignettes/img/modeleditor.png differ diff --git a/vignettes/img/new_project.png b/vignettes/img/new_project.png new file mode 100644 index 0000000..3800f4e Binary files /dev/null and b/vignettes/img/new_project.png differ diff --git a/vignettes/img/plotoptions.png b/vignettes/img/plotoptions.png index e136fd8..f158913 100644 Binary files a/vignettes/img/plotoptions.png and b/vignettes/img/plotoptions.png differ diff --git a/vignettes/img/plottingnfitting.png b/vignettes/img/plottingnfitting.png deleted file mode 100644 index de7b5c1..0000000 Binary files a/vignettes/img/plottingnfitting.png and /dev/null differ diff --git a/vignettes/img/projects.png b/vignettes/img/projects.png deleted file mode 100644 index eb7af8b..0000000 Binary files a/vignettes/img/projects.png and /dev/null differ diff --git a/vignettes/img/projects_min.png b/vignettes/img/projects_min.png new file mode 100644 index 0000000..a739c03 Binary files /dev/null and b/vignettes/img/projects_min.png differ diff --git a/vignettes/img/studies.png b/vignettes/img/studies.png deleted file mode 100644 index e73ac3e..0000000 Binary files a/vignettes/img/studies.png and /dev/null differ diff --git a/vignettes/img/successfulupload.png b/vignettes/img/successfulupload.png index 62464f3..0fbc84c 100644 Binary files a/vignettes/img/successfulupload.png and b/vignettes/img/successfulupload.png differ diff --git a/vignettes/img/summary.png b/vignettes/img/summary.png index 7d0cb15..a1cc72f 100644 Binary files a/vignettes/img/summary.png and b/vignettes/img/summary.png differ diff --git a/vignettes/img/upload_dialogue.png b/vignettes/img/upload_dialogue.png new file mode 100644 index 0000000..9d0d813 Binary files /dev/null and b/vignettes/img/upload_dialogue.png differ diff --git a/vignettes/img/uploadarea.png b/vignettes/img/uploadarea.png index 87b793a..92e4cc7 100644 Binary files a/vignettes/img/uploadarea.png and b/vignettes/img/uploadarea.png differ -- cgit v1.2.1