targets.as.df {systemPipeR} | R Documentation

## Convert targets list to data.frame

### Description

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

### Usage

    targets.as.df(x)

### 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

    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))

[Package systemPipeR version 1.26.3 Index]