Result table generated by Analyze - Gels modules, IJ 1.39g

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Result table generated by Analyze - Gels modules, IJ 1.39g

Phase GmbH
Hi,

I encounter the the following problem:

I successfully perfomed densitometry by the modules under Analyze -> Gels. Finally a result table was generated containing area and percent data for every peak. However when I tried to access the table data by corresponding functions, nResults was returning 0 and also function getResult produced an error telling that the table is empty. Consistently, the table contents was cleared when calling updateResults .

This behavior suggests that ImageJ cannot remember the table data.

Any idea??

Christian Kreutzfeldt
Reply | Threaded
Open this post in threaded view
|

Re: Result table generated by Analyze - Gels modules, IJ 1.39g

Gabriel Landini
On Tuesday 06 November 2007 09:34:27 Phase GmbH wrote:

> However when I tried to access the table data by corresponding
> functions, nResults was returning 0 and also function getResult produced an
> error telling that the table is empty. Consistently, the table contents was
> cleared when calling updateResults .

Not everything that is shown in a Results *window* is in the Results *Table*.
That is why you get a nResults = 0.

For example, if you use the macro function  write(value), the argument will be
shown in the Results window, but it will not be stored in the Results Table.
To do so, the macro needs to execute the  setResult("Column", row, value)
function. I hope it helps.

Regards,

Gabriel