Table of Contents
Introduction ....................................................................................................................................................................4
Writing Modules for GenePattern...................................................................................................................................4
Guidelines for Writing Programs for GenePattern Modules.......................................................................................4
Creating Tasks ..........................................................................................................................................................5
Tutorial: Creating a Task ......................................................................................................................................6
Writing MATLAB Modules for GenePattern....................................................................................................................8
Two Approaches: Direct and Compiled.....................................................................................................................9
MATLAB Versions.....................................................................................................................................................9
Adapting Your MATLAB Code...................................................................................................................................9
Compiling Your MATLAB Code...............................................................................................................................10
Distributing Your MATLAB Code.............................................................................................................................10
Direct Approach Distribution ...............................................................................................................................10
Compiled Approach Distribution .........................................................................................................................11
Example: Deploying a Compiled MATLAB Application............................................................................................13
Writing the M-file.................................................................................................................................................14
Adapting the M-file..............................................................................................................................................14
Compile the M-file...............................................................................................................................................14
Prepare the GenePattern Server ........................................................................................................................14
Create the Launcher Script.................................................................................................................................15
Create the GenePattern Module.........................................................................................................................15
Save the Module and Test It...............................................................................................................................16
Debugging (Linux Only)......................................................................................................................................16
Using GenePattern from Java......................................................................................................................................16
Getting Started in Java............................................................................................................................................16
GenePattern Java Library .......................................................................................................................................17
Running a Program .................................................................................................................................................17
Using LSIDs from Java............................................................................................................................................18
Using GenePattern from MATLAB ...............................................................................................................................18
Getting Started in MATLAB .....................................................................................................................................18
GenePattern MATLAB Library.................................................................................................................................18
Running a Program .................................................................................................................................................19
Using LSIDs from MATLAB.....................................................................................................................................20
Using GenePattern from R...........................................................................................................................................20
Getting Started in R.................................................................................................................................................20
Accessing GenePattern from R...............................................................................................................................21
Running a Program .................................................................................................................................................21
Using LSIDs from R.................................................................................................................................................22
3
Commenti su questo manuale