cwlInstall: cwlInstall

Description Usage Arguments Details Examples

View source: R/cwlInstall.R

Description

To source Rcwl scripts

Usage

1
cwlInstall(rname, bfc = NULL, env = .GlobalEnv)

Arguments

rname

The name or filepath of tool or pipeline to install ('rname' or 'fpath' column from the 'bfc' object returned from 'cwlSearch').

bfc

The 'BiocFileCache' object for the recipes returned from 'cwlUpdate'. The default is NULL which automatically detect the "Rcwl" cache directory.

env

The R enviroment to export to. The default is '.GlobalEnv'.

Details

Note to developers that the dependent Rcwl scripts should be included in the recipe with '@include' tag.

Examples

1
2
3
4
5
6
7
8
## Not run: 
tls <- cwlSearch("bwa")
tls$rname
cwlInstall("tl_bwa")
cwlInstall(tls$fpath[tls$rname == "tl_bwa"])  ## equivalent
bwa

## End(Not run)

RcwlPipelines documentation built on March 7, 2021, 2 a.m.