staff project download information miscellaneous
Vect   Numerical Data Extraction
  Installing Perl
Mac
Windows
Unix


Download

Reference Manual
Introduction
Overview
Input Panel
Convert Panel
Output Panel
Perl Program Panel


Tutorials
Numerical Data Extraction
Statistical Data Extraction
Patent Calculation
PDB Data Extraction
GenBank Data Extraction
Tabular Data Analysis
Word Mapping
DNA to Protein Extraction

Change Log


FAQ

Cookbook
 
MangoPicky DownloadLucy2 DownloadTrend DownloadGRAMAUBViz DownloadgeneDBN Download

4. Manipulating Data with Perl (1)

Now, we want to add up the Female data and the HS data. To do this, we have to
write a simple Perl subroutine (don't panic, it's only a few lines long!)

4.1 Sum Up Two Columns

Click Insert and choose the rule "To write simple Perl code to convert data".
Click OK and give it a meaningful name such as "HS + Female".

Click on "user rule",and you'll get a dialog box with some perl code in it.

Don't worry if it looks long! It's actually a lot of comments, that is, not real code, just text meant to give you help. In perl, # sign preceding a sentence means it's a comment. The code given is also the default code that's given as a crutch for you. We will be editing this default code to suit our needs.

Last modified June 13, 2008 . All rights reserved.

Contact Webmaster

lab