Download Getting Started with Kepler guide

Transcript
8. Click the Commit button at the bottom of the “Edit Parameters for File Reader”
dialog box. The actor is now configured to read the specified file.
9. In the Components tab, search for “Display”. Select the Display actor and drag it
onto the Workflow canvas to the right of the File Reader actor.
10. Connect the output port of the File Reader actor to the input port of the Display
actor.
11. From the Toolbar, select the Run button. A pop-up window will appear,
displaying the contents of the data file in tabular format (Figure 21).
12. From the Menu bar, select File, then Save. When prompted, name the newly
created workflow “readingdata”.
Figure 21: Using and displaying local data in a workflow.
NOTE: When creating a workflow, remember that the limitations of the data determine
which processing components are appropriate.
7. Sample Scientific Workflows
This section examines a small set of sample scientific workflows that come standard with
Kepler, and provides step-by-step instructions for creating these workflows.
7.1.
Sample Workflow 1 – Simple Statistics
Name
File name
Detailed
Description
Assumptions
Summary Statistics
00-StatisticalSummary.xml
This workflow calculates the mean, standard deviation, and variance of
a set of numerical values. The Constant actors contains the input data:
an array of values {1,2,3,4,5,6,7,8,9,10}. These data are sent to the
SummaryStatistics actor, which calculates the statistics and then outputs
the results through its output ports. Results are displayed by three
TextDisplay actors.
The SummaryStatistics actor is a special adaptation of the RExpression
actor. To run this workflow R, a language and environment for
33