Description Usage Arguments Value See Also Examples
View source: R/test_functions.R
An example function that can be made into a Galaxy tool. Reads matrices from two tab-delimited files, adds them, and writes the result to a comma-separated file and a PDF plot.
1 2 3 4 5 6 | anotherTestFunction(inputfile1=GalaxyInputFile(),
inputfile2=GalaxyInputFile(),
plotTitle=GalaxyCharacterParam(c("TitleA"="A", "TitleB"="B")),
plotSubTitle=GalaxyCharacterParam("My subtitle"),
outputfile1=GalaxyOutput("mydata", "csv"),
outputfile2=GalaxyOutput("myplot", "pdf"))
|
inputfile1 |
The filename of the |
inputfile2 |
The filename of the second tab-separated matrix. |
plotTitle |
The title of the plot to create. |
plotSubTitle |
The subtitle of the plot to create. |
outputfile1 |
The filename of the comma-separated output file to generate. |
outputfile2 |
The filename of the PDF plot file to create. |
invisible(NULL)
galaxy
,
GalaxyConfig
, GalaxyOutput
1 2 3 4 5 | anotherTestFunction(system.file("extdata", "a.tsv", package="RGalaxy"),
system.file("extdata", "b.tsv", package="RGalaxy"),
"My Plot Title", "My Plot Subtitle",
"output.csv", "output.pdf")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.