Skip to contents

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 GDCQuery
entity_name(x)

# S3 method for 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)
#> [1] "cases"
entity_name(qprojects)
#> [1] "projects"