manifest: Prepare GDC manifest file for bulk download

Description Usage Arguments Value Methods (by class) Examples

View source: R/manifest.R

Description

The manifest function/method creates a manifest of files to be downloaded using the GDC Data Transfer Tool. There are methods for creating manifest data frames from GDCQuery objects that contain file information ("cases" and "files" queries).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
manifest(x, from = 0, size = count(x), ...)

## S3 method for class 'gdc_files'
manifest(x, from = 0, size = count(x), ...)

## S3 method for class 'GDCfilesResponse'
manifest(x, from = 0, size = count(x), ...)

## S3 method for class 'GDCcasesResponse'
manifest(x, from = 0, size = count(x), ...)

Arguments

x

An GDCQuery object of subclass "gdc_files" or "gdc_cases".

from

Record number from which to start when returning the manifest.

size

The total number of records to return. Default will return the usually desirable full set of records.

...

passed to PUT.

Value

A tibble, also of type "gdc_manifest", with five columns:

Methods (by class)

Examples

1
2
3
gFiles = files()
shortManifest = gFiles %>% manifest(size=10)
head(shortManifest,n=3)

GenomicDataCommons documentation built on Nov. 8, 2020, 11:08 p.m.