genWorkenvir | R Documentation |
Generates workflow templates for systemPipeR
package. The template environemts
contain a predifined directory structure along with run parameter files and sample data.
The strucutre of the workflow templates and the sample data are described in all
details in the Overview Vignette of the systemPipeR package.
genWorkenvir(workflow, mydirname=NULL, bam=FALSE, ref="master", subdir=NULL, url=NULL, urlname=NULL)
workflow |
|
mydirname |
Specifies the name of the workflow directory. The default |
bam |
If |
ref |
Desired GitHub reference for the |
subdir |
subdirectory within GitHub repo that contains the R package, if it is required. |
url |
|
urlname |
|
When installing GitHub Workflow Packages under systemPipeR Organization,
it is requested to the remotes package function BiocManager::\link{install_github}()
to build vignettes and also install all the dependencies, via dependencies=TRUE
, build_vignettes=TRUE
.
Check the output of \link{availableWF}()
to the current workflow templates
available on systemPipeR
Organization. The argument
For an interactive()
session, the readline()
function provides the option
choose between proceeding or not, through options: yes
or no
.
For non-interactive use, if there is no package install, the option yes
will be selected.
Workflow directory containing sample data and parameter files along with the following subdirectories:
param/ |
stores parameter files |
data/ |
stores input data |
results/ |
stores output results |
For more details, please consult the Overview Vignette (HTML) of the systemPipeR package (http://bioconductor.org/packages/systemPipeR).
Thomas Girke and Daniela Cassol
## Return location of sample data
samplepaths <- pathList()
## Not run:
## Generate varseq workflow environment
genWorkenvir(workflow="varseq", mydirname=NULL, url=NULL, urlname=NULL)
setwd("varseq")
## List Workflow Templates from \code{systemPipeRdata} package and \code{systemPipeR} Organization
availableWF(github = TRUE)
## Generate 'systemPipeR/systemPipeChIPseq' workflow environment
genWorkenvir(workflow="systemPipeR/systemPipeChIPseq", mydirname=NULL, ref="master", subdir=NULL)
setwd("systemPipeChIPseq")
## Download a specific R Markdown file
genWorkenvir(workflow="systemPipeR/systemPipeRNAseq", mydirname="rnaseq", url = "https://raw.githubusercontent.com/systemPipeR/systemPipeRNAseq/cluster/vignettes/systemPipeRNAseq.Rmd", urlname = "rnaseq_V-cluster.Rmd")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.