available_expand {GenomicDataCommons} | R Documentation

## Return valid values for "expand"

### Description

The GDC allows a shorthand for specifying groups of fields to be returned by the metadata queries. These can be specified in a `select` method call to easily supply groups of fields.

### Usage

    available_expand(entity)

    ## S3 method for class 'character'
    available_expand(entity)

    ## S3 method for class 'GDCQuery'
    available_expand(entity)

### Arguments

`entity` | Either a `GDCQuery` object or a character(1) specifying a GDC entity ('cases', 'files', 'annotations', 'projects')

### Value

A character vector

### See Also

See https://docs.gdc.cancer.gov/API/Users_Guide/Search_and_Retrieval/#expand for details

### Examples

    head(available_expand('files'))

[Package GenomicDataCommons version 1.8.0 Index]