anotherTestFunction: Add two matrices

Description Usage Arguments Value See Also Examples

View source: R/test_functions.R

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

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

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

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

Bioconductor/RGalaxy documentation built on May 22, 2021, 8:59 a.m.