available_fields {GenomicDataCommons} | R Documentation

## S3 Generic to return all GDC fields

### Description

S3 Generic to return all GDC fields

### Usage

    available_fields(x)

    ## S3 method for class 'GDCQuery'
    available_fields(x)

    ## S3 method for class 'character'
    available_fields(x)

    ## S3 method for class 'GDCQuery'
    field_description(entity, field)

    ## S3 method for class 'character'
    field_description(entity, field)

### Arguments

`x` | A character(1) string ('cases','files','projects', 'annotations') or an subclass of `GDCQuery`.

### Value

a character vector of the default fields

### Methods (by class)

- `GDCQuery`: GDCQuery method

- `character`: character method

- `GDCQuery`: GDCQuery method

- `character`: character method

### Examples

    available_fields('projects')
    projQuery = query('projects')
    available_fields(projQuery)

[Package GenomicDataCommons version 1.14.0 Index]