targets.as.df: Convert targets list to data.frame

Description Usage Arguments Value Author(s) Examples

View source: R/AllClasses2.R

Description

Convert list, which stores data from each target input file to data.frame object.

Usage

1

Arguments

x

An object of the class "list" that stores data from each target input file, as targets(WF).

Value

data.frame containing all the input file information.

Author(s)

Daniela Cassol and Thomas Girke

Examples

1
2
3
4
5
6
7
targets <- system.file("extdata", "targets.txt", package="systemPipeR")
dir_path <- system.file("extdata/cwl/hisat2/hisat2-se", package="systemPipeR")
WF <- loadWorkflow(targets=targets, wf_file="hisat2-mapping-se.cwl", 
                  input_file="hisat2-mapping-se.yml", dir_path=dir_path)
WF <- renderWF(WF, inputvars=c(FileName="_FASTQ_PATH1_", SampleName="_SampleName_"))
WF
targets.as.df(targets(WF))

systemPipeR documentation built on Jan. 26, 2021, 2 a.m.