Description Usage Arguments Value See Also Examples
Makes an R function available in the Galaxy web platform. Automates all the work necessary to expose an R function in Galaxy. See the vignette for more information
1 2 3 4 5 6 7 8 9 | galaxy(func,
package=getPackage(func),
manpage=deparse(substitute(func)),
...,
name=getFriendlyName(deparse(substitute(func))),
version=getVersion(func),
galaxyConfig,
dirToRoxygenize,
RserveConnection=NULL)
|
func |
Required. The function to make available in Galaxy. This function should be entirely-self contained, and should accept as arguments the full paths to its input and output file(s). |
package |
The name of the package where |
manpage |
The full path to the Rd-formatted manual page for the function,
or if the |
... |
Required.
A list of at least one |
name |
Text describe the action this function performs. Becomes a clickable
link in Galaxy. By default, if your function is called "fooBar",
|
version |
The version of this function. If |
galaxyConfig |
Required.
A |
dirToRoxygenize |
If present, points to the directory of a source package upon which to run
|
RserveConnection |
If set (by calling |
invisible(NULL)
GalaxyConfig
,
GalaxyOutput
,
GalaxyParam
1 2 3 4 5 6 7 8 9 10 11 12 | ## set up galaxyHome (you don't need to do this if
## you really have Galaxy installed)
galaxyHome <- tempdir()
dir.create(galaxyHome, recursive=TRUE, showWarnings=FALSE)
file.copy(system.file("galaxy", "tool_conf.xml", package="RGalaxy"),
file.path(galaxyHome, "tool_conf.xml"), overwrite=FALSE)
galaxy(functionToGalaxify,
galaxyConfig=GalaxyConfig(galaxyHome, "mytool",
"Test Section", "testSectionId"),
RserveConnection=RserveConnection())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.