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 | galaxy(func, manpage, ..., name=getFriendlyName(deparse(substitute(func))),
package=NULL, is.exported=NULL, version, galaxyConfig, packageSourceDir)
|
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). |
manpage |
Required.
The full path to the Rd-formatted manual page for the function,
or if |
... |
Required.
A list of at least one |
name |
Required.
Text describe the action this function performs. Becomes a clickable
link in Galaxy. By default, if your function is called "fooBar",
|
package |
The name of the package where |
is.exported |
If |
version |
The version of this function. If |
galaxyConfig |
Required.
A |
packageSourceDir |
If present, points to the directory of a source package upon which to run
|
invisible(NULL)
GalaxyParam
, GalaxyConfig
,
GalaxyOutput
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## 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,
manpage="functionToGalaxify",
package="RGalaxy",
version=packageDescription("RGalaxy")$Version,
galaxyConfig=GalaxyConfig(galaxyHome, "mytool", "Test Section", "testSectionId"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.