Description Usage Arguments Value See Also Examples
View source: R/test_functions.R
An example function that can be made into a Galaxy tool. Takes two numbers, adds them, and returns a file containing the result.
| 1 2 3 | addTwoNumbers(number1=GalaxyNumericParam(required=TRUE),
        number2=GalaxyNumericParam(required=TRUE),
        sum=GalaxyOutput("sum", "txt"))
 | 
| number1 | The first number to add. | 
| number2 | The second number to add. | 
| sum | Where the result of the addition should be written. | 
invisible(NULL)
galaxy, 
GalaxyConfig, GalaxyOutput,
addTwoNumbers
| 1 2 3 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.