Download VIDA, User Manual,

Transcript
64
7.5
Chapter 7. Spreadsheet
Creating New Columns
(a) Creating a new column
(b) Using a math function in the
expression
(c) Referencing another column
Figure 7.4: Creating a new column from an expression
New columns can be added to the spreadsheet containing values that are based on or calculated from
molecular properties or existing spreadsheet data. To create a new columns, select the “Create Column”
option in the top level Data menu. This will launch a dialog to guide the process and can be seen in
Figure 7.4.
The text entry field at the top contains the name for the new column. A new, empty and editable column
can be easily be created by supplying a new column name and then clicking the “Create” button.
Beneath the name is a collection of three drop down boxes containing functions which can be used in
building the expression to be evaluated when populating the column. The first drop down box contains
a collection of available mathematical functions which can be used in the expression (see Section 7.5.1
for more details). The second drop down box contains a collection of available molecular properties that
can be used in the expression (see Section 7.5.2 for more details). The last drop down box contains a list
of the other already existing columns which can be used as part of the expression.
Any of the above described functions can be added to the expression simply by selecting them in the
appropriate drop down box. If that function requires additional input (such as functions like cos), the
cursor in the expression editor window will automatically be placed inside the function. Functions can
be combined with standard math operators such as *, +, -, and . If a function requires additional input
that is not provided, an error will be displayed in the Test section at the bottom of the dialog as seen in
Figure 7.4(b). Frequently, the desired input is contained within another column which can be referenced
by selecting the desired column from the third drop down box or simply by typing “COL(‘COLUMN
NAME’)” as seen in Figure 7.4(c).
Once the desired expression has been assembled, the column can be created and added to the spreadsheet
by clicking on the “Create” button.