recipeLoad | R Documentation |
To load data recipe(s) into R environment.
recipeLoad(
rcp = c(),
cachePath = "ReUseDataRecipe",
env = .GlobalEnv,
return = TRUE
)
rcp |
The (vector of) character string of recipe name or file
path ( |
cachePath |
A character string for the recipe cache. Must
match the one specified in |
env |
The R environment to export to. Default is |
return |
Whether to return the recipe to a user-assigned R
object. Default is TRUE, where user need to assign a variable
name to the recipe. e.g., |
A data recipe of cwlProcess
S4 class, which is ready to
be evaluated in R.
########################
## Load single recipe
########################
library(Rcwl)
recipeUpdate()
recipeSearch("liftover")
rcp <- recipeLoad("ensembl_liftover")
Rcwl::inputs(rcp)
rm(rcp)
gencode_annotation <- recipeLoad("gencode_annotation")
inputs(gencode_annotation)
rm(gencode_annotation)
#########################
## Load multiple recipes
#########################
rcphub <- recipeSearch("gencode")
recipeNames(rcphub)
recipeLoad(recipeNames(rcphub), return=FALSE)
inputs(gencode_transcripts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.