write_manifest {GenomicDataCommons} | R Documentation

## write a manifest data.frame to disk

### Description

The `manifest` method creates a data.frame that represents the data for a manifest file needed by the GDC Data Transfer Tool. While the file format is nothing special, this is a simple helper function to write a manifest data.frame to disk. It returns the path to which the file is written, so it can be used "in-line" in a call to `transfer`.

### Usage

    write_manifest(manifest, destfile = tempfile())

### Arguments

`manifest` | A data.frame with five columns, typically created by a call to `manifest`
`destfile` | The filename for saving the manifest.

### Value

character(1) the destination file name.

### Examples

    mf = files() %>% manifest(size=10)
    write_manifest(mf)

[Package GenomicDataCommons version 1.8.0 Index]