anotherTestFunction {RGalaxy} | R Documentation |
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.
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
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")