entity_name {GenomicDataCommons} | R Documentation

## Get the entity name from a GDCQuery object

### Description

An "entity" is simply one of the four medata endpoints.

- cases

- projects

- files

- annotations

All `GDCQuery` objects will have an entity name. This S3 method is simply a utility accessor for those names.

### Usage

    entity_name(x)

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

    ## S3 method for class 'GDCResults'
    entity_name(x)

### Arguments

`x` | a `GDCQuery` object

### Value

character(1) name of an associated entity; one of "cases", "files", "projects", "annotations".

### Examples

    qcases = cases()
    qprojects = projects()

    entity_name(qcases)
    entity_name(qprojects)

[Package GenomicDataCommons version 1.18.0 Index]