RGalaxy (version 1.16.2)

anotherTestFunction: Add two matrices

Description

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.

Usage

anotherTestFunction(inputfile1=GalaxyInputFile(), inputfile2=GalaxyInputFile(), plotTitle=GalaxyCharacterParam(c("TitleA"="A", "TitleB"="B")), plotSubTitle=GalaxyCharacterParam("My subtitle"), outputfile1=GalaxyOutput("mydata", "csv"), outputfile2=GalaxyOutput("myplot", "pdf"))

Arguments

inputfile1
The filename of the first tab-separated matrix.
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.

Value

invisible(NULL)

See Also

galaxy, GalaxyConfig, GalaxyOutput

Examples

Run this code

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")
    

Run the code above in your browser using DataLab