Previous Page Parent Page Next Page TOC
User Manual | Tools | Profile Likelihood

Profile Likelihood

Here, we describe the profile likelihood method implemented in COPASI. This is something, you will want to do to ensure, that the parameters found in your parameter estimation task, are identifyable. The basic approach follows Schaber’s approach, where starting from a good fit, you create parameter scans around the best value found for a given parameter, while reoptimizing the remaining parameters. If the fit was the best one found, than going away from teh best value would increase the objective value on either direction. If we find a flat line, that means the parameter is not identifiable, if we find a curve that is flat on one side, we can only identify the corresponding bound.

The first step, is to use a model, that already has a good fit. This documentation describes it on Schaber’s example, that you also find as COMBINE archive: schaber2.omex. When you run it and plot a parameter estimation result you would see a plot like this:

Parameter Estimation Plot (schaber2.omex)

The tool implements the three steps of the approach of:

Start the process

Once you have a model with a good fit, select Profile Likelihood from the Tools menu. The following dialog comes up:

Generate

Generate is the first step, generating all COPASI files (2 files per parameter to be estimated.). Once the files are generated, you would then take them from the folder where and run them on your compute cluster using CopasiSE. Or you could use the Process section of the dialog on the next page. When generate is pressed this will also saves the settings used in the target directory as <prefix>settings.json. That can be loaded back in using the load button at the bottom left corner. It will also store <prefix>info.json with the information about the run needed to plot the results later.

Generate

Settings:

Process

If you dont want to run the generated files on your cluster environment, this section of the dialog will process all the files using CopasiSE. This will launch CopasiSE with each file, which just executes the task marked as scheduled. (So you could use it for all other files with scheduled tasks.)

Process

Settings:

A click on Run will then process all files matching the prefix, and maching profile_*.cps. You will get notifications in the text widget beneath.

To stop all currently running processes, hit the cancel button.

Once the files are processed it will print all done. But you do not need to wait for all the computations to succeed, you could go to the plot widget.

Plot

Once the results have been computed on the cluster environment, or computed using process from the last step. This option allows you to plot the results. Just specify the directory and click the Plot button.

Plot

Settings:

Optionally, you can save the created image using the Save Plots button. The number control at the right side specifies how many plots are displayed per row. As there might be quite a number of parameter plots, you can close or pop out individual ones:

- ❌: closes the individual plot (you can always re-create them hitting the plot button again)
- ⛶:  will open the plot in a separate dialog

For full control of what is being displayed on each plot, you can right click on it, enable the legend, and toggle on or off individual curves.