MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE. Programmers Guide, v 2.0 Uživatelská příručka

GenePattern
Programmer’s Guide

Soubor PDF · ·

Tisk

Tisknout dokument

Sdílení

Shrnutí obsahu

Strana 1 - Programmer’s Guide

GenePattern Programmer’s Guide

Strana 2

Software Copyright The Broad Institute SOFTWARE COPYRIGHT NOTICE AGREEMENT This software and its documentation are copyright 2006 by the Broad…

Strana 3 - Table of Contents

Table of Contents Introduction 4 Writing Modules for GenePattern 4 Guidelines for Writing Programs for GenePattern Modules 4 Creating Tasks 5…

Strana 4 - Introduction

Introduction This guide assumes that you are a programmer and familiar with GenePattern. If you are new to GenePattern, work through the GenePattern…

Strana 5 - Creating Tasks

Use parameter flags. When designing the program and its command line, use parameter flags (for example, -f input_file) rather than relying on…

Strana 6 - Tutorial: Creating a Task

Click Help for instructions on how to complete the task definition form. 4. Complete the task definition form. 5. Click Save to create the task. Note…

Strana 7

Typically, you enter the command line as a combination of fixed text and variables defined by GenePattern. This allows the command line to be…

Strana 8

Writing MATLAB Modules for GenePattern If you are writing MATLAB code to be invoked as a GenePattern task, follow the guidelines in Writing Modules…

Strana 9 - Adapting Your MATLAB Code

Distributing Your MATLAB Code Example: Deploying a Compiled MATLAB Application Two Approaches: Direct and Compiled You can invoke a MATLAB executable…

Strana 10 - Direct Approach Distribution

Compiling Your MATLAB Code If you do not plan to use the compiled M-code approach, skip this section and continue with Distributing Your MATLAB Code .…

Strana 11

To check that MATLAB is on your path: 1. Open a DOS window. 2. Type matlab and press Enter. If the MATLAB application starts, MATLAB is on your path.…

Strana 12

On Windows, to run the MCRInstaller: 1. Copy <matlabroot>\toolbox\compiler\deploy\win32\MRCInstaller.exe to the server machine. 2. Run…

Strana 13

The chmod line sets the executable permission on the executable file; by default, the GenePattern server does not set this permission for uploaded…

Strana 14 - Compile the M-file

Writing the M-file The first step is writing the MATLAB M-file that you want to share. For this example, write a simple application that takes a…

Strana 15 - Create the Launcher Script

Copy the zip file to your GenePattern server (if it is a different machine) and install it into a directory. For example, add a directory, matlab…

Strana 16 - Using GenePattern from Java

<fname> for the output file name <txt> for the text to write to the file Include the following support files: mllaunch.bat whatToWrite.exe…

Strana 17 - Running a Program

GenePattern Java Library The GenePattern Java library allows you to invoke a GenePattern task as if it were a local Java method running on your client…

Strana 18 - GenePattern MATLAB Library

new Parameter[] { new Parameter("filename", preprocess.getURL(0).toString()) }); The last statements in the application download the preprocessed data…

Strana 19

Under Programming Libraries in the right column, click the zip link for the MATLAB library. 3. Download the zip file and unzip it into your…

Strana 20 - Using GenePattern from R

Alternatively, to get the parameters with their default values filled in, use the getMethodParameters function of the GenePatternServer object. This…

Strana 21 - Accessing GenePattern from R

R Data Import/Export (PDF, approx. 35 pages, 270kB) describes the import and export facilities available either in R itself or via packages which are…

Strana 22 - Using LSIDs from R

When the task completes, it returns an R list of filenames that are the output from the task. In this example, transpose.out now has a list of…

Další dokumenty pro Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE

Otázky k MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE

K tomuto návodu zatím nejsou žádné otázky. Položte první.

Položit otázku

Odpovídáme podle návodu a uvádíme stranu. Otázka se na webu zobrazí po kontrole.

Všechny otázky a odpovědi ›

Související produkty a manuály pro Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE