Import TableDisplay
Command to import any Scijava table (such as TableDisplay) to the MarsTable format. This allows for a smooth interaction between the Mars-related commands as well as table features (see also the MarsTable tutorial). By default, the MarsTable also gives access to the plotter and the scriptable widgets.
Inputs
- SciJava Table - Table that should be converted. This needs to be an active table in the SciJava format (TableDisplay).


Outputs
- MarsTable - The generated output is a MarsTable.

How to run this Command from a groovy script
#@ org.scijava.TableDisplay tableDisplay
#@output MarsTable table
import de.mpg.biochem.mars.table.*
import org.scijava.Table
table = new MarsTable((Table) display.get(0))