| plotWF {systemPipeR} | R Documentation |
Graphviz Plot Workflow
plotWF(sysargslist, plot_style = "detect", out_type = "html", out_path = "default", height = NULL, width = NULL)
sysargslist |
data frame, the standard df generated from subsetRmd function |
plot_style |
one of 'detect', 'none', 'linear' |
out_type |
choose from 'html', 'svg', 'png' |
out_path |
string, path of output plot, only apply from svg or png |
height |
int, height of svg or png in pixels, default NULL, automatic |
width |
int, width of svg or png in pixels, default NULL, automatic |
Le Zhang and Daniela Cassol
## Not run:
## Construct SYSargsList object from Rmd file
library(systemPipeRdata)
script <- system.file("extdata/workflows/rnaseq", "systemPipeRNAseq.Rmd", package="systemPipeRdata")
targets <- system.file("extdata", "targets.txt", package="systemPipeR")
dir_path <- tempdir()
SYSconfig <- initProject(projPath=dir_path, targets=targets, script=script, overwrite = TRUE)
sysargslist <- initWF(sysconfig ="SYSconfig.yml")
plotWF(sysargslist, plot_style = "none", out_type = "png")
## End(Not run)